httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jean-frederic clere <jfrederic.cl...@fujitsu-siemens.com>
Subject libtool (jlibtool)
Date Tue, 06 Jul 2004 13:35:30 GMT
Hi,

I am using jlibtool and I have found something weird in httpd:
In Makefile.in:
+++
         cp build/*.mk $(DESTDIR)$(installbuilddir); \
         sed 's#LIBTOOL = \(.*\)#LIBTOOL = $(SHELL) $(installbuilddir)/libtool 
$(LTFLAGS)#' \
             build/config_vars.mk > $(DESTDIR)$(installbuilddir)/config_vars.mk; +++
In configure.in:
+++
       my_libtool=`$apr_config --apr-libtool`
       LIBTOOL="$my_libtool \$(LTFLAGS)"
       libtoolversion=`$my_libtool --version`
       case $libtoolversion in
           *1.[[45]]*)
               SH_LIBTOOL='$(LIBTOOL)'
               SHLTCFLAGS="-prefer-pic"
               LTCFLAGS="-prefer-non-pic -static"
               ;;
           *)
               SH_LIBTOOL='$(SHELL) $(top_builddir)/shlibtool $(LTFLAGS)'
               SHLTCFLAGS=""
               LTCFLAGS=""
               ;;
       esac
+++
Shouldn't be all the logic in configure.in?
Like using LIBTOOL="\$(SHELL) $my_libtool \$(LTFLAGS)" when gnu libtool and 
LIBTOOL="$my_libtool \$(LTFLAGS)" otherwise.

Cheers

Jean-Frederic

Mime
View raw message