This file contains context diffs between libtool version 1.1 and 1.2. Changes in files produced by Makeinfo and Autoconf have been omitted. You will need patch(1) and GNU autoconf to apply this patch. To apply this patch, cd to the main directory of the package and then run `patch -NZp1 < ../libtool-1.0f-1.0g.diff'. This avoids guesswork in choosing which subdirectory to find each file in. If you have a GNU patch older than version 2.4, or a non-GNU patch program, you should omit the `-Z' option (i.e. run `patch -Np1 ...'). Unfortunately, without `-Z', file timestamps will be incorrect, and you may need to obtain special tools in order to properly build this package. If you do not have these tools, then you should download libtool-1.2.tar.gz, rather than applying this patch. After applying this patch, you will need to manually run `autoreconf' to regenerate the configure script. Then, you may follow the instructions in the INSTALL file to build the package. diff -Ncar --exclude=*.info* --exclude=configure libtool-1.1/ChangeLog libtool-1.2/ChangeLog *** libtool-1.1/ChangeLog Mon Mar 9 04:50:43 1998 --- libtool-1.2/ChangeLog Fri Mar 20 07:55:06 1998 *************** *** 1,3 **** --- 1,40 ---- + 1998-03-20 Gordon Matzigkeit + + * Release 1.2. + + 1998-03-18 Gordon Matzigkeit + + * ltmain.in: Rearrange some of the echos to make them more + consistent. + + 1998-03-14 Gordon Matzigkeit + + * ltmain.in: Break up an echo command that causes Solaris printf + to dump core. Apparently the Solaris people hardcoded a 2110-byte + buffer into their printf(1). Feh. From John Judge. + + 1998-03-11 Gordon Matzigkeit + + * ltconfig.in: Change the test for the PIC compiler flag so that + we assume it doesn't work if there are any warning messages. This + fixes a bug using old GCC's on HP-UX. Reported by Akim Demaille. + + 1998-03-10 Andreas Schwab + + * Makefile.am ($(srcdir)/ltconfig): Remove bogus command to create + a file ltconfig in the build directory. + + 1998-03-09 Andreas Schwab + + * ltmain.in: Avoid unnecessary use of command substitution, + replacing foo=`eval \\$echo \"$mumble\"` by eval foo=\"$mumble\". + + (link): Use ${1+"$@"} in wrapper scripts in order to pass + arguments safely to a program. + + * ltconfig.in: Use -fpic instead of -fPIC if $host_cpu matches + m68*. + 1998-03-08 Gordon Matzigkeit * Release 1.1. diff -Ncar --exclude=*.info* --exclude=configure libtool-1.1/Makefile.am libtool-1.2/Makefile.am *** libtool-1.1/Makefile.am Sat Mar 7 23:17:38 1998 --- libtool-1.2/Makefile.am Wed Mar 11 15:39:31 1998 *************** *** 43,49 **** # Do line number substitution, as well as PACKAGE and VERSION. # Line numbering transliterated from a section in autoconf (Autoconf 2.12). $(srcdir)/ltconfig: ltconfig.in $(top_srcdir)/configure.in - CONFIG_FILES=ltconfig CONFIG_HEADERS= $(top_builddir)/config.status $(AWK) '/@LINENO@/ { printf "%d:", NR } { print }' $(srcdir)/ltconfig.in | \ sed -e 's/@''PACKAGE@/@PACKAGE@/' -e 's/@''VERSION@/@VERSION@/' \ -e '/@LINENO@/s/^\([0-9][0-9]*\):\(.*\)@LINENO@/\2\1/' > ltconfig.T --- 43,48 ---- diff -Ncar --exclude=*.info* --exclude=configure libtool-1.1/Makefile.in libtool-1.2/Makefile.in *** libtool-1.1/Makefile.in Mon Mar 9 05:31:12 1998 --- libtool-1.2/Makefile.in Fri Mar 20 08:01:49 1998 *************** *** 421,427 **** # Do line number substitution, as well as PACKAGE and VERSION. # Line numbering transliterated from a section in autoconf (Autoconf 2.12). $(srcdir)/ltconfig: ltconfig.in $(top_srcdir)/configure.in - CONFIG_FILES=ltconfig CONFIG_HEADERS= $(top_builddir)/config.status $(AWK) '/@LINENO@/ { printf "%d:", NR } { print }' $(srcdir)/ltconfig.in | \ sed -e 's/@''PACKAGE@/@PACKAGE@/' -e 's/@''VERSION@/@VERSION@/' \ -e '/@LINENO@/s/^\([0-9][0-9]*\):\(.*\)@LINENO@/\2\1/' > ltconfig.T --- 421,426 ---- diff -Ncar --exclude=*.info* --exclude=configure libtool-1.1/NEWS libtool-1.2/NEWS *** libtool-1.1/NEWS Mon Mar 9 05:00:58 1998 --- libtool-1.2/NEWS Fri Mar 20 07:56:34 1998 *************** *** 1,5 **** --- 1,10 ---- NEWS - list of user-visible changes between releases of GNU Libtool + New in 1.2 - 1998-03-20, Gordon Matzigkeit: + * Minor bug fixes to provide a stable public release. + * Libtool no longer causes Solaris printf to barf due to silly + 2110-byte static buffers. + New in 1.1 - 1998-03-08, Gordon Matzigkeit: * Bug fixes. * http://www.profitpress.com/libtool/ is libtool's homepage. diff -Ncar --exclude=*.info* --exclude=configure libtool-1.1/README libtool-1.2/README *** libtool-1.1/README Mon Mar 2 00:10:19 1998 --- libtool-1.2/README Fri Mar 13 17:28:02 1998 *************** *** 14,22 **** AmigaOS (*-*-amigaos*) Digital/UNIX 3.x, 4.x, a.k.a. OSF/1 (*-*-osf3*, *-*-osf4*) FreeBSD 2.x, 3.x (*-*-freebsd2*, *-*-freebsd3*) HP-UX 9.x, 10.x (*-*-hpux9*, *-*-hpux10*) [see note] IRIX 5.x, 6.x (*-*-irix5*, *-*-irix6*) - Linux ELF (*-*-linux*, except aout, coff, and oldld) NetBSD 1.x (*-*-netbsd*) OpenBSD 2.x (*-*-openbsd*) OS/2 using EMX (*-*-os2*) --- 14,22 ---- AmigaOS (*-*-amigaos*) Digital/UNIX 3.x, 4.x, a.k.a. OSF/1 (*-*-osf3*, *-*-osf4*) FreeBSD 2.x, 3.x (*-*-freebsd2*, *-*-freebsd3*) + GNU/Linux ELF (*-*-linux-gnu*, except aout, coff, and oldld) HP-UX 9.x, 10.x (*-*-hpux9*, *-*-hpux10*) [see note] IRIX 5.x, 6.x (*-*-irix5*, *-*-irix6*) NetBSD 1.x (*-*-netbsd*) OpenBSD 2.x (*-*-openbsd*) OS/2 using EMX (*-*-os2*) diff -Ncar --exclude=*.info* --exclude=configure libtool-1.1/TODO libtool-1.2/TODO *** libtool-1.1/TODO Mon Mar 9 05:23:47 1998 --- libtool-1.2/TODO Thu Mar 12 18:17:21 1998 *************** *** 1,6 **** --- 1,9 ---- For next public release: ************************ + * Remove references to `ltmain.sh' in generated files, because it's + name really is an internal implementation detail. + * Inter-library dependencies should be fully tracked by libtool. Reminded by Alexandre Oliva. This requires looking up installed libtool libraries for transparent support. diff -Ncar --exclude=*.info* --exclude=configure libtool-1.1/configure.in libtool-1.2/configure.in *** libtool-1.1/configure.in Fri Mar 6 04:07:29 1998 --- libtool-1.2/configure.in Fri Mar 20 07:59:33 1998 *************** *** 6,12 **** dnl `prcs.README' from your nearest GNU mirror. dnl $Format: "AM_INIT_AUTOMAKE($Project$,$ProjectMajorVersion$)"$ ! AM_INIT_AUTOMAKE(libtool,1.1) pkgdatadir='${datadir}/libtool' AC_SUBST(pkgdatadir) --- 6,12 ---- dnl `prcs.README' from your nearest GNU mirror. dnl $Format: "AM_INIT_AUTOMAKE($Project$,$ProjectMajorVersion$)"$ ! AM_INIT_AUTOMAKE(libtool,1.2) pkgdatadir='${datadir}/libtool' AC_SUBST(pkgdatadir) diff -Ncar --exclude=*.info* --exclude=configure libtool-1.1/doc/PLATFORMS libtool-1.2/doc/PLATFORMS *** libtool-1.1/doc/PLATFORMS Tue Feb 10 18:42:35 1998 --- libtool-1.2/doc/PLATFORMS Thu Mar 12 04:39:19 1998 *************** *** 6,12 **** alpha-dec-osf3.2 gcc 0.8 ok alpha-dec-osf4.0 cc 1.0f ok alpha-dec-osf4.0 gcc 1.0f ok ! alpha-unknown-linux gcc 0.9h ok hppa1.1-hp-hpux9.07 cc 1.0f ok hppa1.1-hp-hpux9.07 gcc 1.0f ok hppa1.1-hp-hpux10.10 cc 0.9h ok --- 6,12 ---- alpha-dec-osf3.2 gcc 0.8 ok alpha-dec-osf4.0 cc 1.0f ok alpha-dec-osf4.0 gcc 1.0f ok ! alpha-unknown-linux-gnu gcc 0.9h ok hppa1.1-hp-hpux9.07 cc 1.0f ok hppa1.1-hp-hpux9.07 gcc 1.0f ok hppa1.1-hp-hpux10.10 cc 0.9h ok *************** *** 28,34 **** powerpc-ibm-aix4.1.4.0 gcc 1.0 ok rs6000-ibm-aix3.2.5 xlc 1.0i ok rs6000-ibm-aix3.2.5 gcc 1.0i ok* ! sparc-sun-linux2.1.23 gcc 0.9h ok sparc-sun-sunos4.1.3 gcc 1.0i ok sparc-sun-sunos4.1.4 cc 1.0f ok sparc-sun-sunos4.1.4 gcc 1.0f ok --- 28,34 ---- powerpc-ibm-aix4.1.4.0 gcc 1.0 ok rs6000-ibm-aix3.2.5 xlc 1.0i ok rs6000-ibm-aix3.2.5 gcc 1.0i ok* ! sparc-sun-linux-gnu2.1.23 gcc 0.9h ok sparc-sun-sunos4.1.3 gcc 1.0i ok sparc-sun-sunos4.1.4 cc 1.0f ok sparc-sun-sunos4.1.4 gcc 1.0f ok diff -Ncar --exclude=*.info* --exclude=configure libtool-1.1/doc/libtool.texi libtool-1.2/doc/libtool.texi *** libtool-1.1/doc/libtool.texi Thu Mar 5 16:16:45 1998 --- libtool-1.2/doc/libtool.texi Tue Mar 10 17:04:36 1998 *************** *** 1756,1764 **** represented by integers. When a program is linked against a library, it may use any subset of those interfaces. ! Libtool's description of the interfaces that a program uses is very ! simple: it encodes the least and the greatest interface numbers in the ! resulting binary (@var{first-interface}, @var{last-interface}). The dynamic linker is guaranteed that if a library supports @emph{every} interface number between @var{first-interface} and @var{last-interface}, --- 1756,1764 ---- represented by integers. When a program is linked against a library, it may use any subset of those interfaces. ! Libtool's description of the interfaces that a program uses is simple: ! it encodes the least and the greatest interface numbers in the resulting ! binary (@var{first-interface}, @var{last-interface}). The dynamic linker is guaranteed that if a library supports @emph{every} interface number between @var{first-interface} and @var{last-interface}, *************** *** 2382,2391 **** previous versions and other compilers do not. @end enumerate ! This second issue is very complex. Basically, you should avoid any ! global or static variable initializations that would cause an ! ``initializer element is not constant'' error if you compiled them with ! a standard C compiler. There are other ways of working around this problem, but they are beyond the scope of this manual. --- 2382,2391 ---- previous versions and other compilers do not. @end enumerate ! This second issue is complex. Basically, you should avoid any global or ! static variable initializations that would cause an ``initializer ! element is not constant'' error if you compiled them with a standard C ! compiler. There are other ways of working around this problem, but they are beyond the scope of this manual. *************** *** 2599,2609 **** describes the programs that libtool uses, how they vary from system to system, and how to test for them. ! Because libtool is a shell script, it is @emph{very} difficult to ! understand just by reading it from top to bottom. This section helps ! show why libtool does things a certain way. After reading it, then ! reading the scripts themselves, you should have a better sense of how to ! improve libtool, or write your own. @menu * References:: Finding more information. --- 2599,2609 ---- describes the programs that libtool uses, how they vary from system to system, and how to test for them. ! Because libtool is a shell script, it is difficult to understand just by ! reading it from top to bottom. This section helps show why libtool does ! things a certain way. After reading it, then reading the scripts ! themselves, you should have a better sense of how to improve libtool, or ! write your own. @menu * References:: Finding more information. diff -Ncar --exclude=*.info* --exclude=configure libtool-1.1/doc/stamp-vti libtool-1.2/doc/stamp-vti *** libtool-1.1/doc/stamp-vti Sat Mar 7 23:15:13 1998 --- libtool-1.2/doc/stamp-vti Fri Mar 20 08:01:50 1998 *************** *** 1,3 **** ! @set UPDATED 5 March 1998 ! @set EDITION 1.1 ! @set VERSION 1.1 --- 1,3 ---- ! @set UPDATED 10 March 1998 ! @set EDITION 1.2 ! @set VERSION 1.2 diff -Ncar --exclude=*.info* --exclude=configure libtool-1.1/doc/version.texi libtool-1.2/doc/version.texi *** libtool-1.1/doc/version.texi Sat Mar 7 23:15:13 1998 --- libtool-1.2/doc/version.texi Fri Mar 20 08:01:50 1998 *************** *** 1,3 **** ! @set UPDATED 5 March 1998 ! @set EDITION 1.1 ! @set VERSION 1.1 --- 1,3 ---- ! @set UPDATED 10 March 1998 ! @set EDITION 1.2 ! @set VERSION 1.2 diff -Ncar --exclude=*.info* --exclude=configure libtool-1.1/libtool.prj libtool-1.2/libtool.prj *** libtool-1.1/libtool.prj Mon Mar 9 05:30:48 1998 --- libtool-1.2/libtool.prj Fri Mar 20 08:01:20 1998 *************** *** 1,11 **** ;; -*- Lisp -*- (Created-By-Prcs-Version 1 2 1) (Project-Description "GNU Libtool library support script") ! (Project-Version libtool 1.1a 0) (Parent-Version libtool 1.0j 4) ! (Version-Log "Release 1.0j.") ! (New-Version-Log "A few optimizations and minor bug fixes for release 1.1.") ! (Checkin-Time "Thu, 05 Mar 1998 21:07:27 -0700") (Checkin-Login gord) (Populate-Ignore ("~$" "Makefile$" "Makefile\\.in$" "aclocal\\.m4$" "configure$" "config\\.status$" "config\\.cache$" --- 1,11 ---- ;; -*- Lisp -*- (Created-By-Prcs-Version 1 2 1) (Project-Description "GNU Libtool library support script") ! (Project-Version libtool 1.2a 0) (Parent-Version libtool 1.0j 4) ! (Version-Log "More little bug fixes.") ! (New-Version-Log "Release 1.2.") ! (Checkin-Time "Fri, 20 Mar 1998 00:58:42 -0700") (Checkin-Login gord) (Populate-Ignore ("~$" "Makefile$" "Makefile\\.in$" "aclocal\\.m4$" "configure$" "config\\.status$" "config\\.cache$" *************** *** 23,51 **** (Files ;; Administrivia. (AUTHORS (libtool/21_AUTHORS 1.1 664)) ! (ChangeLog (libtool/20_ChangeLog 1.4.1.73 664)) ! (NEWS (libtool/19_NEWS 1.4.1.53 664)) (PACKAGES (libtool/42_PACKAGES 1.8 664)) ! (README (libtool/17_README 1.21 664)) (README-alpha (libtool/16_README-alp 1.12 664)) ! (TODO (libtool/14_TODO 1.3.1.37 664)) (THANKS (libtool/15_THANKS 1.12 664)) ! (libtool.spec (libtool/46_libtool.sp 1.6 664)) ;; Top directory. ! (Makefile.am (libtool/18_Makefile.a 1.36 664)) (configure.in (libtool/13_configure. 1.4.1.29 664)) ! (ltmain.in (libtool/2_ltmain.sh. 1.4.1.58 664)) ! (ltconfig.in (libtool/3_ltconfig.i 1.4.1.59 775)) (libtoolize.in (libtool/4_libtoolize 1.6 664)) ;; aclocal additions. ! (libtool.m4 (libtool/12_libtool.m4 1.24 664)) ;; Documentation subdirectory. (doc/Makefile.am (libtool/1_Makefile.a 1.6 664)) ! (doc/PLATFORMS (libtool/41_platforms. 1.15 664)) ! (doc/libtool.texi (libtool/0_libtool.te 1.3.1.35 664)) ;; Demonstration subdirectory. (demo/README (libtool/28_README 1.3 664)) --- 23,51 ---- (Files ;; Administrivia. (AUTHORS (libtool/21_AUTHORS 1.1 664)) ! (ChangeLog (libtool/20_ChangeLog 1.4.1.75 664)) ! (NEWS (libtool/19_NEWS 1.4.1.55 664)) (PACKAGES (libtool/42_PACKAGES 1.8 664)) ! (README (libtool/17_README 1.22 664)) (README-alpha (libtool/16_README-alp 1.12 664)) ! (TODO (libtool/14_TODO 1.3.1.39 664)) (THANKS (libtool/15_THANKS 1.12 664)) ! (libtool.spec (libtool/46_libtool.sp 1.7 664)) ;; Top directory. ! (Makefile.am (libtool/18_Makefile.a 1.38 664)) (configure.in (libtool/13_configure. 1.4.1.29 664)) ! (ltmain.in (libtool/2_ltmain.sh. 1.4.1.60 664)) ! (ltconfig.in (libtool/3_ltconfig.i 1.4.1.61 775)) (libtoolize.in (libtool/4_libtoolize 1.6 664)) ;; aclocal additions. ! (libtool.m4 (libtool/12_libtool.m4 1.25 664)) ;; Documentation subdirectory. (doc/Makefile.am (libtool/1_Makefile.a 1.6 664)) ! (doc/PLATFORMS (libtool/41_platforms. 1.16 664)) ! (doc/libtool.texi (libtool/0_libtool.te 1.3.1.36 664)) ;; Demonstration subdirectory. (demo/README (libtool/28_README 1.3 664)) *************** *** 59,67 **** (demo/foo.c (libtool/9_foo.c 1.2.1.5 664)) ;; Tests subdirectory. ! (tests/ChangeLog (libtool/26_ChangeLog 1.26 664)) ! (tests/Makefile.am (libtool/25_Makefile.a 1.15 664)) ! (tests/defs (libtool/24_defs 1.5 664)) ;; The actual tests. (tests/demo-unst.test (libtool/32_demo-unst. 1.3 775)) --- 59,67 ---- (demo/foo.c (libtool/9_foo.c 1.2.1.5 664)) ;; Tests subdirectory. ! (tests/ChangeLog (libtool/26_ChangeLog 1.27 664)) ! (tests/Makefile.am (libtool/25_Makefile.a 1.16 664)) ! (tests/defs (libtool/24_defs 1.6 664)) ;; The actual tests. (tests/demo-unst.test (libtool/32_demo-unst. 1.3 775)) diff -Ncar --exclude=*.info* --exclude=configure libtool-1.1/libtool.spec libtool-1.2/libtool.spec *** libtool-1.1/libtool.spec Mon Mar 9 05:14:47 1998 --- libtool-1.2/libtool.spec Fri Mar 20 07:59:33 1998 *************** *** 2,8 **** # $Format: "Name: $Project$"$ Name: libtool # $Format: "Version: $ProjectMajorVersion$"$ ! Version: 1.1 Release: 1 Copyright: GPL Group: Development/Build --- 2,8 ---- # $Format: "Name: $Project$"$ Name: libtool # $Format: "Version: $ProjectMajorVersion$"$ ! Version: 1.2 Release: 1 Copyright: GPL Group: Development/Build diff -Ncar --exclude=*.info* --exclude=configure libtool-1.1/ltconfig libtool-1.2/ltconfig *** libtool-1.1/ltconfig Mon Mar 9 03:49:29 1998 --- libtool-1.2/ltconfig Fri Mar 20 08:00:29 1998 *************** *** 66,72 **** # Constants: PROGRAM=ltconfig PACKAGE=libtool ! VERSION=1.1 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.c 1>&5' ac_link='${CC-cc} -o conftest $CFLAGS $CPPFLAGS $LDFLAGS conftest.c $LIBS 1>&5' rm="rm -f" --- 66,72 ---- # Constants: PROGRAM=ltconfig PACKAGE=libtool ! VERSION=1.2 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.c 1>&5' ac_link='${CC-cc} -o conftest $CFLAGS $CPPFLAGS $LDFLAGS conftest.c $LIBS 1>&5' rm="rm -f" *************** *** 546,557 **** CFLAGS="$CFLAGS $pic_flag -DPIC" echo "$progname:547: checking if $compiler PIC flag $pic_flag works" >&5 if { (eval echo $progname:548: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>conftest.err; } && test -s conftest.o; then ! # Append any errors to the config.log. cat conftest.err 1>&5 ! # On HP-UX, the stripped-down bundled CC does not accept +Z, but also ! # reports no error. So, we need to grep stderr for (Bundled). ! if grep '(Bundled)' conftest.err >/dev/null; then echo "$ac_t"no 1>&6 can_build_shared=no pic_flag= --- 546,558 ---- CFLAGS="$CFLAGS $pic_flag -DPIC" echo "$progname:547: checking if $compiler PIC flag $pic_flag works" >&5 if { (eval echo $progname:548: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>conftest.err; } && test -s conftest.o; then ! # Append any warnings to the config.log. cat conftest.err 1>&5 ! # On HP-UX, both CC and GCC only warn that PIC is supported... then they ! # create non-PIC objects. So, if there were any warnings, we assume that ! # PIC is not supported. ! if test -s conftest.err; then echo "$ac_t"no 1>&6 can_build_shared=no pic_flag= *************** *** 587,594 **** echo 'main(){return(0);}' > conftest.c save_LDFLAGS="$LDFLAGS" LDFLAGS="$LDFLAGS $link_static_flag" ! echo "$progname:590: checking if $compiler static flag $link_static_flag works" >&5 ! if { (eval echo $progname:591: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then echo "$ac_t$link_static_flag" 1>&6 else echo "$ac_t"none 1>&6 --- 588,595 ---- echo 'main(){return(0);}' > conftest.c save_LDFLAGS="$LDFLAGS" LDFLAGS="$LDFLAGS $link_static_flag" ! echo "$progname:591: checking if $compiler static flag $link_static_flag works" >&5 ! if { (eval echo $progname:592: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then echo "$ac_t$link_static_flag" 1>&6 else echo "$ac_t"none 1>&6 *************** *** 620,626 **** if test "$with_gcc" = yes; then # Check if gcc -print-prog-name=ld gives a path. echo $ac_n "checking for ld used by GCC... $ac_c" 1>&6 ! echo "$progname:623: checking for ld used by GCC" >&5 ac_prog=`($CC -print-prog-name=ld) 2>&5` case "$ac_prog" in # Accept absolute paths. --- 621,627 ---- if test "$with_gcc" = yes; then # Check if gcc -print-prog-name=ld gives a path. echo $ac_n "checking for ld used by GCC... $ac_c" 1>&6 ! echo "$progname:624: checking for ld used by GCC" >&5 ac_prog=`($CC -print-prog-name=ld) 2>&5` case "$ac_prog" in # Accept absolute paths. *************** *** 638,647 **** esac elif test "$with_gnu_ld" = yes; then echo $ac_n "checking for GNU ld... $ac_c" 1>&6 ! echo "$progname:641: checking for GNU ld" >&5 else echo $ac_n "checking for non-GNU ld""... $ac_c" 1>&6 ! echo "$progname:644: checking for non-GNU ld" >&5 fi if test -z "$LD"; then --- 639,648 ---- esac elif test "$with_gnu_ld" = yes; then echo $ac_n "checking for GNU ld... $ac_c" 1>&6 ! echo "$progname:642: checking for GNU ld" >&5 else echo $ac_n "checking for non-GNU ld""... $ac_c" 1>&6 ! echo "$progname:645: checking for non-GNU ld" >&5 fi if test -z "$LD"; then *************** *** 967,977 **** main(){nm_test_var='a';nm_test_func();return(0);} EOF ! echo "$progname:970: checking if global_symbol_pipe works" >&5 ! if { (eval echo $progname:971: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; } && test -s conftest.o; then # Now try to grab the symbols. nlist=conftest.nm ! if { echo "$progname:974: eval \"$NM conftest.o | $global_symbol_pipe > $nlist\"" >&5; eval "$NM conftest.o | $global_symbol_pipe > $nlist 2>&5"; } && test -s "$nlist"; then # Try sorting and uniquifying the output. if sort "$nlist" | uniq > "$nlist"T; then --- 968,978 ---- main(){nm_test_var='a';nm_test_func();return(0);} EOF ! echo "$progname:971: checking if global_symbol_pipe works" >&5 ! if { (eval echo $progname:972: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; } && test -s conftest.o; then # Now try to grab the symbols. nlist=conftest.nm ! if { echo "$progname:975: eval \"$NM conftest.o | $global_symbol_pipe > $nlist\"" >&5; eval "$NM conftest.o | $global_symbol_pipe > $nlist 2>&5"; } && test -s "$nlist"; then # Try sorting and uniquifying the output. if sort "$nlist" | uniq > "$nlist"T; then *************** *** 1029,1035 **** save_CFLAGS="$CFLAGS" LIBS='conftestm.o' CFLAGS="$CFLAGS$no_builtin_flag" ! if { (eval echo $progname:1032: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then pipe_works=yes else echo "$progname: failed program was:" >&5 --- 1030,1036 ---- save_CFLAGS="$CFLAGS" LIBS='conftestm.o' CFLAGS="$CFLAGS$no_builtin_flag" ! if { (eval echo $progname:1033: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then pipe_works=yes else echo "$progname: failed program was:" >&5 diff -Ncar --exclude=*.info* --exclude=configure libtool-1.1/ltconfig.in libtool-1.2/ltconfig.in *** libtool-1.1/ltconfig.in Sat Mar 7 23:28:38 1998 --- libtool-1.2/ltconfig.in Wed Mar 11 16:10:51 1998 *************** *** 546,557 **** CFLAGS="$CFLAGS $pic_flag -DPIC" echo "$progname:@LINENO@: checking if $compiler PIC flag $pic_flag works" >&5 if { (eval echo $progname:@LINENO@: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>conftest.err; } && test -s conftest.o; then ! # Append any errors to the config.log. cat conftest.err 1>&5 ! # On HP-UX, the stripped-down bundled CC does not accept +Z, but also ! # reports no error. So, we need to grep stderr for (Bundled). ! if grep '(Bundled)' conftest.err >/dev/null; then echo "$ac_t"no 1>&6 can_build_shared=no pic_flag= --- 546,558 ---- CFLAGS="$CFLAGS $pic_flag -DPIC" echo "$progname:@LINENO@: checking if $compiler PIC flag $pic_flag works" >&5 if { (eval echo $progname:@LINENO@: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>conftest.err; } && test -s conftest.o; then ! # Append any warnings to the config.log. cat conftest.err 1>&5 ! # On HP-UX, both CC and GCC only warn that PIC is supported... then they ! # create non-PIC objects. So, if there were any warnings, we assume that ! # PIC is not supported. ! if test -s conftest.err; then echo "$ac_t"no 1>&6 can_build_shared=no pic_flag= diff -Ncar --exclude=*.info* --exclude=configure libtool-1.1/ltmain.in libtool-1.2/ltmain.in *** libtool-1.1/ltmain.in Mon Mar 9 03:45:24 1998 --- libtool-1.2/ltmain.in Thu Mar 19 04:44:44 1998 *************** *** 481,487 **** if test "$export_dynamic" != yes; then export_dynamic=yes if test -n "$export_dynamic_flag_spec"; then ! arg=`eval \\$echo "$export_dynamic_flag_spec"` else arg= fi --- 481,487 ---- if test "$export_dynamic" != yes; then export_dynamic=yes if test -n "$export_dynamic_flag_spec"; then ! eval arg=\"$export_dynamic_flag_spec\" else arg= fi *************** *** 682,688 **** fi if test -n "$libdir"; then ! flag=`eval \\$echo \"$hardcode_libdir_flag_spec\"` compile_command="$compile_command $flag" finalize_command="$finalize_command $flag" --- 682,688 ---- fi if test -n "$libdir"; then ! eval flag=\"$hardcode_libdir_flag_spec\" compile_command="$compile_command $flag" finalize_command="$finalize_command $flag" *************** *** 843,849 **** esac name=`$echo "X$output" | $Xsed -e 's/\.la$//' -e 's/^lib//'` ! libname=`eval \\$echo \"$libname_spec\"` # All the library-specific variables (install_libdir is set above). library_names= --- 843,849 ---- esac name=`$echo "X$output" | $Xsed -e 's/\.la$//' -e 's/^lib//'` ! eval libname=\"$libname_spec\" # All the library-specific variables (install_libdir is set above). library_names= *************** *** 1006,1018 **** if test "$build_libtool_libs" = yes; then # Get the real and link names of the library. ! library_names=`eval \\$echo \"$library_names_spec\"` set dummy $library_names realname="$2" shift; shift if test -n "$soname_spec"; then ! soname=`eval \\$echo \"$soname_spec\"` else soname="$realname" fi --- 1006,1018 ---- if test "$build_libtool_libs" = yes; then # Get the real and link names of the library. ! eval library_names=\"$library_names_spec\" set dummy $library_names realname="$2" shift; shift if test -n "$soname_spec"; then ! eval soname=\"$soname_spec\" else soname="$realname" fi *************** *** 1027,1033 **** test -z "$pic_flag" && libobjs=`$echo "X$libobjs " | $Xsed -e 's/\.lo /.o /g' -e 's/ $//g'` # Do each of the archive commands. ! cmds=`eval \\$echo \"$archive_cmds\"` IFS="${IFS= }"; save_ifs="$IFS"; IFS=';' for cmd in $cmds; do IFS="$save_ifs" --- 1027,1033 ---- test -z "$pic_flag" && libobjs=`$echo "X$libobjs " | $Xsed -e 's/\.lo /.o /g' -e 's/ $//g'` # Do each of the archive commands. ! eval cmds=\"$archive_cmds\" IFS="${IFS= }"; save_ifs="$IFS"; IFS=';' for cmd in $cmds; do IFS="$save_ifs" *************** *** 1104,1110 **** reload_objs="$objs"`$echo "X$libobjs " | $Xsed -e 's/[^ ]*\.a //g' -e 's/\.lo /.o /g' -e 's/ $//g'` output="$obj" ! cmds=`eval \\$echo \"$reload_cmds\"` IFS="${IFS= }"; save_ifs="$IFS"; IFS=';' for cmd in $cmds; do IFS="$save_ifs" --- 1104,1110 ---- reload_objs="$objs"`$echo "X$libobjs " | $Xsed -e 's/[^ ]*\.a //g' -e 's/\.lo /.o /g' -e 's/ $//g'` output="$obj" ! eval cmds=\"$reload_cmds\" IFS="${IFS= }"; save_ifs="$IFS"; IFS=';' for cmd in $cmds; do IFS="$save_ifs" *************** *** 1128,1134 **** # Only do commands if we really have different PIC objects. reload_objs="$libobjs" output="$libobj" ! cmds=`eval \\$echo \"$reload_cmds\"` IFS="${IFS= }"; save_ifs="$IFS"; IFS=';' for cmd in $cmds; do IFS="$save_ifs" --- 1128,1134 ---- # Only do commands if we really have different PIC objects. reload_objs="$libobjs" output="$libobj" ! eval cmds=\"$reload_cmds\" IFS="${IFS= }"; save_ifs="$IFS"; IFS=';' for cmd in $cmds; do IFS="$save_ifs" *************** *** 1177,1183 **** fi if test -n "$libdir"; then ! flag=`eval \\$echo \"$hardcode_libdir_flag_spec\"` compile_command="$compile_command $flag" finalize_command="$finalize_command $flag" --- 1177,1183 ---- fi if test -n "$libdir"; then ! eval flag=\"$hardcode_libdir_flag_spec\" compile_command="$compile_command $flag" finalize_command="$finalize_command $flag" *************** *** 1254,1261 **** case "$dlsyms" in "") ;; *.c) ! $echo > "$objdir/$dlsyms" \ ! "/* $dlsyms - symbol resolution table for \`$output' dlsym emulation. */ /* Generated by $PROGRAM - GNU $PACKAGE $VERSION */ #ifdef __cplusplus --- 1254,1261 ---- case "$dlsyms" in "") ;; *.c) ! $echo > "$objdir/$dlsyms" "\ ! /* $dlsyms - symbol resolution table for \`$output' dlsym emulation. */ /* Generated by $PROGRAM - GNU $PACKAGE $VERSION */ #ifdef __cplusplus *************** *** 1266,1282 **** #define dld_preloaded_symbol_count some_other_symbol #define dld_preloaded_symbols some_other_symbol ! /* External symbol declarations for the compiler. */" if test -f "$nlist"; then sed -e 's/^.* \(.*\)$/extern char \1;/' < "$nlist" >> "$objdir/$dlsyms" else echo '/* NONE */' >> "$objdir/$dlsyms" - EOF fi ! $echo >> "$objdir/$dlsyms" \ ! " #undef dld_preloaded_symbol_count #undef dld_preloaded_symbols --- 1266,1282 ---- #define dld_preloaded_symbol_count some_other_symbol #define dld_preloaded_symbols some_other_symbol ! /* External symbol declarations for the compiler. */\ ! " if test -f "$nlist"; then sed -e 's/^.* \(.*\)$/extern char \1;/' < "$nlist" >> "$objdir/$dlsyms" else echo '/* NONE */' >> "$objdir/$dlsyms" fi ! $echo >> "$objdir/$dlsyms" "\ ! #undef dld_preloaded_symbol_count #undef dld_preloaded_symbols *************** *** 1295,1313 **** __ptr_t address; } dld_preloaded_symbols[] = ! {" if test -f "$nlist"; then sed 's/^\(.*\) \(.*\)$/ {"\1", (__ptr_t) \&\2},/' < "$nlist" >> "$objdir/$dlsyms" fi ! $echo >> "$objdir/$dlsyms" \ ! " {0, (__ptr_t) 0} }; #ifdef __cplusplus } ! #endif" ;; *) --- 1295,1315 ---- __ptr_t address; } dld_preloaded_symbols[] = ! {\ ! " if test -f "$nlist"; then sed 's/^\(.*\) \(.*\)$/ {"\1", (__ptr_t) \&\2},/' < "$nlist" >> "$objdir/$dlsyms" fi ! $echo >> "$objdir/$dlsyms" "\ ! {0, (__ptr_t) 0} }; #ifdef __cplusplus } ! #endif\ ! " ;; *) *************** *** 1427,1434 **** $rm $output trap "$rm $output; exit 1" 1 2 15 ! $echo > $output \ ! "#! /bin/sh # $output - temporary wrapper script for $objdir/$output # Generated by ltmain.sh - GNU $PACKAGE $VERSION --- 1429,1436 ---- $rm $output trap "$rm $output; exit 1" 1 2 15 ! $echo > $output "\ ! #! /bin/sh # $output - temporary wrapper script for $objdir/$output # Generated by ltmain.sh - GNU $PACKAGE $VERSION *************** *** 1459,1465 **** else echo=\"$qecho\" file=\"\$0\" ! fi # Find the directory that this script lives in. thisdir=\`\$echo \"X\$file\" | \$Xsed -e 's%/[^/]*$%%'\` --- 1461,1469 ---- else echo=\"$qecho\" file=\"\$0\" ! fi\ ! " ! $echo >> $output "\ # Find the directory that this script lives in. thisdir=\`\$echo \"X\$file\" | \$Xsed -e 's%/[^/]*$%%'\` *************** *** 1493,1500 **** # Export our shlibpath_var if we have one. if test -n "$shlibpath_var" && test -n "$temp_rpath"; then ! $echo >> $output \ ! " # Add our own library path to $shlibpath_var $shlibpath_var=\"$temp_rpath\$$shlibpath_var\" # Some systems cannot cope with colon-terminated $shlibpath_var --- 1497,1504 ---- # Export our shlibpath_var if we have one. if test -n "$shlibpath_var" && test -n "$temp_rpath"; then ! $echo >> $output "\ ! # Add our own library path to $shlibpath_var $shlibpath_var=\"$temp_rpath\$$shlibpath_var\" # Some systems cannot cope with colon-terminated $shlibpath_var *************** *** 1504,1527 **** " fi ! echo >> $output \ ! " if test \"\$libtool_execute_magic\" != \"$magic\"; then # Run the actual program with our arguments. - args= - for arg - do - # Quote arguments (to preserve shell metacharacters). - arg=\`\$echo \"X\$arg\" | \$Xsed -e \"\$sed_quote_subst\"\` - args=\"\$args \\\"\$arg\\\"\" - done # Export the path to the program. PATH=\"\$progdir:\$PATH\" export PATH ! eval \"exec \$program \$args\" ! \$echo \"\$0: cannot exec \$program \$args\" exit 1 fi else --- 1508,1524 ---- " fi ! $echo >> $output "\ ! if test \"\$libtool_execute_magic\" != \"$magic\"; then # Run the actual program with our arguments. # Export the path to the program. PATH=\"\$progdir:\$PATH\" export PATH ! exec \$program \${1+\"\$@\"} ! \$echo \"\$0: cannot exec \$program \${1+\"\$@\"}\" exit 1 fi else *************** *** 1531,1537 **** echo \"See the $PACKAGE documentation for more information.\" 1>&2 exit 1 fi ! fi" chmod +x $output fi exit 0 --- 1528,1535 ---- echo \"See the $PACKAGE documentation for more information.\" 1>&2 exit 1 fi ! fi\ ! " chmod +x $output fi exit 0 *************** *** 1545,1553 **** # Do each command in the archive commands. if test -n "$old_archive_from_new_cmds" && test "$build_libtool_libs" = yes; then ! cmds=`eval \\$echo \"$old_archive_from_new_cmds\"` else ! cmds=`eval \\$echo \"$old_archive_cmds\"` fi IFS="${IFS= }"; save_ifs="$IFS"; IFS=';' for cmd in $cmds; do --- 1543,1551 ---- # Do each command in the archive commands. if test -n "$old_archive_from_new_cmds" && test "$build_libtool_libs" = yes; then ! eval cmds=\"$old_archive_from_new_cmds\" else ! eval cmds=\"$old_archive_cmds\" fi IFS="${IFS= }"; save_ifs="$IFS"; IFS=';' for cmd in $cmds; do *************** *** 1568,1575 **** # Only create the output if not a dry run. if test -z "$run"; then ! echo > $output \ ! "# $output - a libtool library file # Generated by ltmain.sh - GNU $PACKAGE $VERSION # The name that we can dlopen(3). --- 1566,1573 ---- # Only create the output if not a dry run. if test -z "$run"; then ! $echo > $output "\ ! # $output - a libtool library file # Generated by ltmain.sh - GNU $PACKAGE $VERSION # The name that we can dlopen(3). *************** *** 1590,1596 **** revision=$revision # Directory that this library needs to be installed in: ! libdir='$install_libdir'" fi # Do a symbolic link so that the libtool archive can be found in --- 1588,1595 ---- revision=$revision # Directory that this library needs to be installed in: ! libdir='$install_libdir'\ ! " fi # Do a symbolic link so that the libtool archive can be found in *************** *** 1832,1838 **** # Do each command in the postinstall commands. lib="$destdir/$realname" ! cmds=`eval \\$echo \"$postinstall_cmds\"` IFS="${IFS= }"; save_ifs="$IFS"; IFS=';' for cmd in $cmds; do IFS="$save_ifs" --- 1831,1837 ---- # Do each command in the postinstall commands. lib="$destdir/$realname" ! eval cmds=\"$postinstall_cmds\" IFS="${IFS= }"; save_ifs="$IFS"; IFS=';' for cmd in $cmds; do IFS="$save_ifs" *************** *** 1969,1975 **** $run eval "$install_prog \$file \$oldlib" || exit $? # Do each command in the postinstall commands. ! cmds=`eval \\$echo \"$old_postinstall_cmds\"` IFS="${IFS= }"; save_ifs="$IFS"; IFS=';' for cmd in $cmds; do IFS="$save_ifs" --- 1968,1974 ---- $run eval "$install_prog \$file \$oldlib" || exit $? # Do each command in the postinstall commands. ! eval cmds=\"$old_postinstall_cmds\" IFS="${IFS= }"; save_ifs="$IFS"; IFS=';' for cmd in $cmds; do IFS="$save_ifs" *************** *** 2007,2013 **** for libdir in $libdirs; do if test -n "$finish_cmds"; then # Do each command in the finish commands. ! cmds=`eval \\$echo \"$finish_cmds\"` IFS="${IFS= }"; save_ifs="$IFS"; IFS=';' for cmd in $cmds; do IFS="$save_ifs" --- 2006,2012 ---- for libdir in $libdirs; do if test -n "$finish_cmds"; then # Do each command in the finish commands. ! eval cmds=\"$finish_cmds\" IFS="${IFS= }"; save_ifs="$IFS"; IFS=';' for cmd in $cmds; do IFS="$save_ifs" *************** *** 2018,2024 **** fi if test -n "$finish_eval"; then # Do the single finish_eval. ! cmds=`eval \\$echo \"$finish_eval\"` $run eval "$cmds" fi done --- 2017,2023 ---- fi if test -n "$finish_eval"; then # Do the single finish_eval. ! eval cmds=\"$finish_eval\" $run eval "$cmds" fi done *************** *** 2044,2050 **** fi if test -n "$hardcode_libdir_flag_spec"; then libdir=LIBDIR ! flag=`eval \\$echo \"$hardcode_libdir_flag_spec\"` echo " - use the \`$flag' linker flag" fi --- 2043,2049 ---- fi if test -n "$hardcode_libdir_flag_spec"; then libdir=LIBDIR ! eval flag=\"$hardcode_libdir_flag_spec\" echo " - use the \`$flag' linker flag" fi *************** *** 2235,2241 **** if test -n "$library_names"; then # Do each command in the postuninstall commands. ! cmds=`eval \\$echo \"$postuninstall_cmds\"` IFS="${IFS= }"; save_ifs="$IFS"; IFS=';' for cmd in $cmds; do IFS="$save_ifs" --- 2234,2240 ---- if test -n "$library_names"; then # Do each command in the postuninstall commands. ! eval cmds=\"$postuninstall_cmds\" IFS="${IFS= }"; save_ifs="$IFS"; IFS=';' for cmd in $cmds; do IFS="$save_ifs" *************** *** 2247,2253 **** if test -n "$old_library"; then # Do each command in the old_postuninstall commands. ! cmds=`eval \\$echo \"$old_postuninstall_cmds\"` IFS="${IFS= }"; save_ifs="$IFS"; IFS=';' for cmd in $cmds; do IFS="$save_ifs" --- 2246,2252 ---- if test -n "$old_library"; then # Do each command in the old_postuninstall commands. ! eval cmds=\"$old_postuninstall_cmds\" IFS="${IFS= }"; save_ifs="$IFS"; IFS=';' for cmd in $cmds; do IFS="$save_ifs" diff -Ncar --exclude=*.info* --exclude=configure libtool-1.1/ltmain.sh libtool-1.2/ltmain.sh *** libtool-1.1/ltmain.sh Mon Mar 9 03:49:29 1998 --- libtool-1.2/ltmain.sh Fri Mar 20 08:00:29 1998 *************** *** 30,36 **** # Constants. PROGRAM=ltmain.sh PACKAGE=libtool ! VERSION=1.1 default_mode= help="Try \`$progname --help' for more information." --- 30,36 ---- # Constants. PROGRAM=ltmain.sh PACKAGE=libtool ! VERSION=1.2 default_mode= help="Try \`$progname --help' for more information." *************** *** 481,487 **** if test "$export_dynamic" != yes; then export_dynamic=yes if test -n "$export_dynamic_flag_spec"; then ! arg=`eval \\$echo "$export_dynamic_flag_spec"` else arg= fi --- 481,487 ---- if test "$export_dynamic" != yes; then export_dynamic=yes if test -n "$export_dynamic_flag_spec"; then ! eval arg=\"$export_dynamic_flag_spec\" else arg= fi *************** *** 682,688 **** fi if test -n "$libdir"; then ! flag=`eval \\$echo \"$hardcode_libdir_flag_spec\"` compile_command="$compile_command $flag" finalize_command="$finalize_command $flag" --- 682,688 ---- fi if test -n "$libdir"; then ! eval flag=\"$hardcode_libdir_flag_spec\" compile_command="$compile_command $flag" finalize_command="$finalize_command $flag" *************** *** 843,849 **** esac name=`$echo "X$output" | $Xsed -e 's/\.la$//' -e 's/^lib//'` ! libname=`eval \\$echo \"$libname_spec\"` # All the library-specific variables (install_libdir is set above). library_names= --- 843,849 ---- esac name=`$echo "X$output" | $Xsed -e 's/\.la$//' -e 's/^lib//'` ! eval libname=\"$libname_spec\" # All the library-specific variables (install_libdir is set above). library_names= *************** *** 1006,1018 **** if test "$build_libtool_libs" = yes; then # Get the real and link names of the library. ! library_names=`eval \\$echo \"$library_names_spec\"` set dummy $library_names realname="$2" shift; shift if test -n "$soname_spec"; then ! soname=`eval \\$echo \"$soname_spec\"` else soname="$realname" fi --- 1006,1018 ---- if test "$build_libtool_libs" = yes; then # Get the real and link names of the library. ! eval library_names=\"$library_names_spec\" set dummy $library_names realname="$2" shift; shift if test -n "$soname_spec"; then ! eval soname=\"$soname_spec\" else soname="$realname" fi *************** *** 1027,1033 **** test -z "$pic_flag" && libobjs=`$echo "X$libobjs " | $Xsed -e 's/\.lo /.o /g' -e 's/ $//g'` # Do each of the archive commands. ! cmds=`eval \\$echo \"$archive_cmds\"` IFS="${IFS= }"; save_ifs="$IFS"; IFS=';' for cmd in $cmds; do IFS="$save_ifs" --- 1027,1033 ---- test -z "$pic_flag" && libobjs=`$echo "X$libobjs " | $Xsed -e 's/\.lo /.o /g' -e 's/ $//g'` # Do each of the archive commands. ! eval cmds=\"$archive_cmds\" IFS="${IFS= }"; save_ifs="$IFS"; IFS=';' for cmd in $cmds; do IFS="$save_ifs" *************** *** 1104,1110 **** reload_objs="$objs"`$echo "X$libobjs " | $Xsed -e 's/[^ ]*\.a //g' -e 's/\.lo /.o /g' -e 's/ $//g'` output="$obj" ! cmds=`eval \\$echo \"$reload_cmds\"` IFS="${IFS= }"; save_ifs="$IFS"; IFS=';' for cmd in $cmds; do IFS="$save_ifs" --- 1104,1110 ---- reload_objs="$objs"`$echo "X$libobjs " | $Xsed -e 's/[^ ]*\.a //g' -e 's/\.lo /.o /g' -e 's/ $//g'` output="$obj" ! eval cmds=\"$reload_cmds\" IFS="${IFS= }"; save_ifs="$IFS"; IFS=';' for cmd in $cmds; do IFS="$save_ifs" *************** *** 1128,1134 **** # Only do commands if we really have different PIC objects. reload_objs="$libobjs" output="$libobj" ! cmds=`eval \\$echo \"$reload_cmds\"` IFS="${IFS= }"; save_ifs="$IFS"; IFS=';' for cmd in $cmds; do IFS="$save_ifs" --- 1128,1134 ---- # Only do commands if we really have different PIC objects. reload_objs="$libobjs" output="$libobj" ! eval cmds=\"$reload_cmds\" IFS="${IFS= }"; save_ifs="$IFS"; IFS=';' for cmd in $cmds; do IFS="$save_ifs" *************** *** 1177,1183 **** fi if test -n "$libdir"; then ! flag=`eval \\$echo \"$hardcode_libdir_flag_spec\"` compile_command="$compile_command $flag" finalize_command="$finalize_command $flag" --- 1177,1183 ---- fi if test -n "$libdir"; then ! eval flag=\"$hardcode_libdir_flag_spec\" compile_command="$compile_command $flag" finalize_command="$finalize_command $flag" *************** *** 1254,1261 **** case "$dlsyms" in "") ;; *.c) ! $echo > "$objdir/$dlsyms" \ ! "/* $dlsyms - symbol resolution table for \`$output' dlsym emulation. */ /* Generated by $PROGRAM - GNU $PACKAGE $VERSION */ #ifdef __cplusplus --- 1254,1261 ---- case "$dlsyms" in "") ;; *.c) ! $echo > "$objdir/$dlsyms" "\ ! /* $dlsyms - symbol resolution table for \`$output' dlsym emulation. */ /* Generated by $PROGRAM - GNU $PACKAGE $VERSION */ #ifdef __cplusplus *************** *** 1266,1282 **** #define dld_preloaded_symbol_count some_other_symbol #define dld_preloaded_symbols some_other_symbol ! /* External symbol declarations for the compiler. */" if test -f "$nlist"; then sed -e 's/^.* \(.*\)$/extern char \1;/' < "$nlist" >> "$objdir/$dlsyms" else echo '/* NONE */' >> "$objdir/$dlsyms" - EOF fi ! $echo >> "$objdir/$dlsyms" \ ! " #undef dld_preloaded_symbol_count #undef dld_preloaded_symbols --- 1266,1282 ---- #define dld_preloaded_symbol_count some_other_symbol #define dld_preloaded_symbols some_other_symbol ! /* External symbol declarations for the compiler. */\ ! " if test -f "$nlist"; then sed -e 's/^.* \(.*\)$/extern char \1;/' < "$nlist" >> "$objdir/$dlsyms" else echo '/* NONE */' >> "$objdir/$dlsyms" fi ! $echo >> "$objdir/$dlsyms" "\ ! #undef dld_preloaded_symbol_count #undef dld_preloaded_symbols *************** *** 1295,1313 **** __ptr_t address; } dld_preloaded_symbols[] = ! {" if test -f "$nlist"; then sed 's/^\(.*\) \(.*\)$/ {"\1", (__ptr_t) \&\2},/' < "$nlist" >> "$objdir/$dlsyms" fi ! $echo >> "$objdir/$dlsyms" \ ! " {0, (__ptr_t) 0} }; #ifdef __cplusplus } ! #endif" ;; *) --- 1295,1315 ---- __ptr_t address; } dld_preloaded_symbols[] = ! {\ ! " if test -f "$nlist"; then sed 's/^\(.*\) \(.*\)$/ {"\1", (__ptr_t) \&\2},/' < "$nlist" >> "$objdir/$dlsyms" fi ! $echo >> "$objdir/$dlsyms" "\ ! {0, (__ptr_t) 0} }; #ifdef __cplusplus } ! #endif\ ! " ;; *) *************** *** 1427,1434 **** $rm $output trap "$rm $output; exit 1" 1 2 15 ! $echo > $output \ ! "#! /bin/sh # $output - temporary wrapper script for $objdir/$output # Generated by ltmain.sh - GNU $PACKAGE $VERSION --- 1429,1436 ---- $rm $output trap "$rm $output; exit 1" 1 2 15 ! $echo > $output "\ ! #! /bin/sh # $output - temporary wrapper script for $objdir/$output # Generated by ltmain.sh - GNU $PACKAGE $VERSION *************** *** 1459,1465 **** else echo=\"$qecho\" file=\"\$0\" ! fi # Find the directory that this script lives in. thisdir=\`\$echo \"X\$file\" | \$Xsed -e 's%/[^/]*$%%'\` --- 1461,1469 ---- else echo=\"$qecho\" file=\"\$0\" ! fi\ ! " ! $echo >> $output "\ # Find the directory that this script lives in. thisdir=\`\$echo \"X\$file\" | \$Xsed -e 's%/[^/]*$%%'\` *************** *** 1493,1500 **** # Export our shlibpath_var if we have one. if test -n "$shlibpath_var" && test -n "$temp_rpath"; then ! $echo >> $output \ ! " # Add our own library path to $shlibpath_var $shlibpath_var=\"$temp_rpath\$$shlibpath_var\" # Some systems cannot cope with colon-terminated $shlibpath_var --- 1497,1504 ---- # Export our shlibpath_var if we have one. if test -n "$shlibpath_var" && test -n "$temp_rpath"; then ! $echo >> $output "\ ! # Add our own library path to $shlibpath_var $shlibpath_var=\"$temp_rpath\$$shlibpath_var\" # Some systems cannot cope with colon-terminated $shlibpath_var *************** *** 1504,1527 **** " fi ! echo >> $output \ ! " if test \"\$libtool_execute_magic\" != \"$magic\"; then # Run the actual program with our arguments. - args= - for arg - do - # Quote arguments (to preserve shell metacharacters). - arg=\`\$echo \"X\$arg\" | \$Xsed -e \"\$sed_quote_subst\"\` - args=\"\$args \\\"\$arg\\\"\" - done # Export the path to the program. PATH=\"\$progdir:\$PATH\" export PATH ! eval \"exec \$program \$args\" ! \$echo \"\$0: cannot exec \$program \$args\" exit 1 fi else --- 1508,1524 ---- " fi ! $echo >> $output "\ ! if test \"\$libtool_execute_magic\" != \"$magic\"; then # Run the actual program with our arguments. # Export the path to the program. PATH=\"\$progdir:\$PATH\" export PATH ! exec \$program \${1+\"\$@\"} ! \$echo \"\$0: cannot exec \$program \${1+\"\$@\"}\" exit 1 fi else *************** *** 1531,1537 **** echo \"See the $PACKAGE documentation for more information.\" 1>&2 exit 1 fi ! fi" chmod +x $output fi exit 0 --- 1528,1535 ---- echo \"See the $PACKAGE documentation for more information.\" 1>&2 exit 1 fi ! fi\ ! " chmod +x $output fi exit 0 *************** *** 1545,1553 **** # Do each command in the archive commands. if test -n "$old_archive_from_new_cmds" && test "$build_libtool_libs" = yes; then ! cmds=`eval \\$echo \"$old_archive_from_new_cmds\"` else ! cmds=`eval \\$echo \"$old_archive_cmds\"` fi IFS="${IFS= }"; save_ifs="$IFS"; IFS=';' for cmd in $cmds; do --- 1543,1551 ---- # Do each command in the archive commands. if test -n "$old_archive_from_new_cmds" && test "$build_libtool_libs" = yes; then ! eval cmds=\"$old_archive_from_new_cmds\" else ! eval cmds=\"$old_archive_cmds\" fi IFS="${IFS= }"; save_ifs="$IFS"; IFS=';' for cmd in $cmds; do *************** *** 1568,1575 **** # Only create the output if not a dry run. if test -z "$run"; then ! echo > $output \ ! "# $output - a libtool library file # Generated by ltmain.sh - GNU $PACKAGE $VERSION # The name that we can dlopen(3). --- 1566,1573 ---- # Only create the output if not a dry run. if test -z "$run"; then ! $echo > $output "\ ! # $output - a libtool library file # Generated by ltmain.sh - GNU $PACKAGE $VERSION # The name that we can dlopen(3). *************** *** 1590,1596 **** revision=$revision # Directory that this library needs to be installed in: ! libdir='$install_libdir'" fi # Do a symbolic link so that the libtool archive can be found in --- 1588,1595 ---- revision=$revision # Directory that this library needs to be installed in: ! libdir='$install_libdir'\ ! " fi # Do a symbolic link so that the libtool archive can be found in *************** *** 1832,1838 **** # Do each command in the postinstall commands. lib="$destdir/$realname" ! cmds=`eval \\$echo \"$postinstall_cmds\"` IFS="${IFS= }"; save_ifs="$IFS"; IFS=';' for cmd in $cmds; do IFS="$save_ifs" --- 1831,1837 ---- # Do each command in the postinstall commands. lib="$destdir/$realname" ! eval cmds=\"$postinstall_cmds\" IFS="${IFS= }"; save_ifs="$IFS"; IFS=';' for cmd in $cmds; do IFS="$save_ifs" *************** *** 1969,1975 **** $run eval "$install_prog \$file \$oldlib" || exit $? # Do each command in the postinstall commands. ! cmds=`eval \\$echo \"$old_postinstall_cmds\"` IFS="${IFS= }"; save_ifs="$IFS"; IFS=';' for cmd in $cmds; do IFS="$save_ifs" --- 1968,1974 ---- $run eval "$install_prog \$file \$oldlib" || exit $? # Do each command in the postinstall commands. ! eval cmds=\"$old_postinstall_cmds\" IFS="${IFS= }"; save_ifs="$IFS"; IFS=';' for cmd in $cmds; do IFS="$save_ifs" *************** *** 2007,2013 **** for libdir in $libdirs; do if test -n "$finish_cmds"; then # Do each command in the finish commands. ! cmds=`eval \\$echo \"$finish_cmds\"` IFS="${IFS= }"; save_ifs="$IFS"; IFS=';' for cmd in $cmds; do IFS="$save_ifs" --- 2006,2012 ---- for libdir in $libdirs; do if test -n "$finish_cmds"; then # Do each command in the finish commands. ! eval cmds=\"$finish_cmds\" IFS="${IFS= }"; save_ifs="$IFS"; IFS=';' for cmd in $cmds; do IFS="$save_ifs" *************** *** 2018,2024 **** fi if test -n "$finish_eval"; then # Do the single finish_eval. ! cmds=`eval \\$echo \"$finish_eval\"` $run eval "$cmds" fi done --- 2017,2023 ---- fi if test -n "$finish_eval"; then # Do the single finish_eval. ! eval cmds=\"$finish_eval\" $run eval "$cmds" fi done *************** *** 2044,2050 **** fi if test -n "$hardcode_libdir_flag_spec"; then libdir=LIBDIR ! flag=`eval \\$echo \"$hardcode_libdir_flag_spec\"` echo " - use the \`$flag' linker flag" fi --- 2043,2049 ---- fi if test -n "$hardcode_libdir_flag_spec"; then libdir=LIBDIR ! eval flag=\"$hardcode_libdir_flag_spec\" echo " - use the \`$flag' linker flag" fi *************** *** 2235,2241 **** if test -n "$library_names"; then # Do each command in the postuninstall commands. ! cmds=`eval \\$echo \"$postuninstall_cmds\"` IFS="${IFS= }"; save_ifs="$IFS"; IFS=';' for cmd in $cmds; do IFS="$save_ifs" --- 2234,2240 ---- if test -n "$library_names"; then # Do each command in the postuninstall commands. ! eval cmds=\"$postuninstall_cmds\" IFS="${IFS= }"; save_ifs="$IFS"; IFS=';' for cmd in $cmds; do IFS="$save_ifs" *************** *** 2247,2253 **** if test -n "$old_library"; then # Do each command in the old_postuninstall commands. ! cmds=`eval \\$echo \"$old_postuninstall_cmds\"` IFS="${IFS= }"; save_ifs="$IFS"; IFS=';' for cmd in $cmds; do IFS="$save_ifs" --- 2246,2252 ---- if test -n "$old_library"; then # Do each command in the old_postuninstall commands. ! eval cmds=\"$old_postuninstall_cmds\" IFS="${IFS= }"; save_ifs="$IFS"; IFS=';' for cmd in $cmds; do IFS="$save_ifs"