diff options
| author | Reid Spencer <rspencer@reidspencer.com> | 2004-09-15 06:19:53 +0000 |
|---|---|---|
| committer | Reid Spencer <rspencer@reidspencer.com> | 2004-09-15 06:19:53 +0000 |
| commit | 011f5ca2ca240fbed7c9855be84a802c91c6a1d0 (patch) | |
| tree | 66d8a37f6749e4d1556828ba554fca4bdafe7a38 /projects/Stacker/autoconf | |
| parent | b016a376abc0d35ab4e77ea32a5b0421d980482b (diff) | |
| download | external_llvm-011f5ca2ca240fbed7c9855be84a802c91c6a1d0.zip external_llvm-011f5ca2ca240fbed7c9855be84a802c91c6a1d0.tar.gz external_llvm-011f5ca2ca240fbed7c9855be84a802c91c6a1d0.tar.bz2 | |
Attempt to solve the libtool problem on Solaris.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16364 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'projects/Stacker/autoconf')
| -rw-r--r-- | projects/Stacker/autoconf/configure.ac | 17 |
1 files changed, 14 insertions, 3 deletions
diff --git a/projects/Stacker/autoconf/configure.ac b/projects/Stacker/autoconf/configure.ac index b43a5c0..757c8d0 100644 --- a/projects/Stacker/autoconf/configure.ac +++ b/projects/Stacker/autoconf/configure.ac @@ -6,7 +6,8 @@ AC_INIT([[[Stacker]]],[[[1.0]]],[rspencer@x10sys.com]) dnl Place all of the extra autoconf files into the config subdirectory AC_CONFIG_AUX_DIR([autoconf]) -dnl Configure a header file +dnl Verify that the source directory is valid +AC_CONFIG_SRCDIR([Makefile.common.in]) dnl Configure Makefiles dnl List every Makefile that ecists within your source tree @@ -26,9 +27,19 @@ dnl ************************************************************************** dnl ************************************************************************** dnl * Check for programs. dnl ************************************************************************** +AC_PROG_LIBTOOL +dnl Get libtool's idea of what the shared library suffix is. +dnl (This is a hack; it relies on undocumented behavior.) +AC_MSG_CHECKING([for shared library suffix]) +eval "SHLIBEXT=$shrext" +AC_MSG_RESULT($SHLIBEXT) +dnl Propagate it to the Makefiles and config.h (for gccld & bugpoint). +AC_SUBST(SHLIBEXT,$SHLIBEXT) +AC_DEFINE_UNQUOTED(SHLIBEXT,"$SHLIBEXT", + [Extension that shared libraries have, + e.g., ".so".]) + -dnl Verify that the source directory is valid -AC_CONFIG_SRCDIR([Makefile.common.in]) dnl ************************************************************************** dnl * Check for libraries. |
