apr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From grega...@apache.org
Subject cvs commit: apr configure.in
Date Tue, 04 Dec 2001 20:37:38 GMT
gregames    01/12/04 12:37:38

  Modified:    .        configure.in
  Log:
  older versions of libtool don't generate the libtool script inline, so
  shlibpath_var isn't a local variable to apr's configure.  But this variable
  is set in the libtool script itself, so get it from there.
  
  OS/2, BeOS, and any platforms which don't use libtool may need to tweak this
  if binbuild.sh needs to work and apr[-util] is built shared.  For OS/390, Jeff
  added a line to his libtool script that says "shlibpath_var=LIBPATH" which
  will do the job.
  
  also, move the AC_SUBST for shlibpath_var closer to where it is set
  
  Revision  Changes    Path
  1.383     +3 -1      apr/configure.in
  
  Index: configure.in
  ===================================================================
  RCS file: /home/cvs/apr/configure.in,v
  retrieving revision 1.382
  retrieving revision 1.383
  diff -u -r1.382 -r1.383
  --- configure.in	2001/12/03 19:28:40	1.382
  +++ configure.in	2001/12/04 20:37:38	1.383
  @@ -108,6 +108,8 @@
       if test "x$LTFLAGS" = "x"; then
           LTFLAGS='--silent'
       fi
  +    dnl get libtool's setting of shlibpath_var
  +    eval `grep "^shlibpath_var=[[A-Z_]]\+$" $srcdir/libtool`
       ;;
   esac
   
  @@ -133,6 +135,7 @@
   AC_SUBST(so_ext)
   AC_SUBST(lib_target)
   AC_SUBST(export_lib_target)
  +AC_SUBST(shlibpath_var)
   AC_SUBST(LTFLAGS)
   AC_SUBST(LT_LDFLAGS)
   
  @@ -1368,7 +1371,6 @@
   AC_SUBST(DEFAULT_OSDIR)
   AC_SUBST(EXEEXT)
   AC_SUBST(LIBTOOL_LIBS)
  -AC_SUBST(shlibpath_var)
   
   echo "${nl}Construct Makefiles and header files."
   MAKEFILE1="Makefile strings/Makefile passwd/Makefile tables/Makefile build/Makefile"
  
  
  

Mime
View raw message