apr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From r..@apache.org
Subject cvs commit: apr configure.in
Date Sun, 08 Apr 2001 04:50:13 GMT
rbb         01/04/07 21:50:13

  Modified:    .        configure.in
  Log:
  Cleanup the --without-libtool option.  This ensures that the default will
  always be equivalent to --with-libtool
  
  Revision  Changes    Path
  1.283     +7 -8      apr/configure.in
  
  Index: configure.in
  ===================================================================
  RCS file: /home/cvs/apr/configure.in,v
  retrieving revision 1.282
  retrieving revision 1.283
  diff -u -d -b -w -u -r1.282 -r1.283
  --- configure.in	2001/04/08 04:11:22	1.282
  +++ configure.in	2001/04/08 04:50:13	1.283
  @@ -97,7 +97,10 @@
   esac
   
   AC_ARG_WITH(libtool, [--with-libtool   use libtool to link the library],
  -  [ if test "$withval" = "yes"; then
  +  [ use_libtool=$withval ], [ use_libtool="yes" ] )
  +
  +echo "FOOBAR:::::  $use_libtool"
  +if test "x$use_libtool" = "xyes"; then
         lt_compile="\$(LIBTOOL) --mode=compile \$(LTFLAGS) \$(COMPILE) -c \$< &&
touch $@"
         link="\$(LIBTOOL) --mode=link \$(LTFLAGS) \$(COMPILE) \$(LDFLAGS) -o \$@ -rpath \$(libdir)
\$\$objects"
         so_ext="lo"
  @@ -106,12 +109,8 @@
         lt_compile="\$(COMPILE) -c \$<"
         link="ar cr \$(TARGET_LIB) \$\$objects; ranlib \$(TARGET_LIB)"
         so_ext="o"
  -    fi ], [
  -      lt_compile="\$(LIBTOOL) --mode=compile \$(LTFLAGS) \$(COMPILE) -c \$< &&
touch $@"
  -      link="\$(LIBTOOL) --mode=link \$(LTFLAGS) \$(COMPILE) \$(LDFLAGS) -o \$@ -rpath \$(libdir)
\$\$objects"
  -      so_ext="lo"
  -      lib_target="\$(libdir) \$\$objects"
  -    ] )
  +fi
  +
   AC_SUBST(lt_compile)
   AC_SUBST(link)
   AC_SUBST(so_ext)
  
  
  

Mime
View raw message