From: Thomas Tanner Date: Thu, 14 Jan 1999 20:07:09 +0000 (+0000) Subject: *** empty log message *** X-Git-Tag: automake_1-4~25 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=031bd5cb381971978d6056c56e3eac0255877510;p=thirdparty%2Flibtool.git *** empty log message *** --- diff --git a/ChangeLog b/ChangeLog index 194a3b99b..6e4f65c64 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,13 @@ +1999-01-14 Thomas Tanner + + * autogen: moved faking of the libtool scripts before + the call of automake, so that ltconfig and ltmain.sh + are included in the distribution + * ltconfig.in: when checking whether PIC is supported assume + only on HP/UX that warnings during compilation mean that + PIC is not supported (Thanks to Ron O'Hara) + * THANKS: added Ron O'Hara + 1999-01-14 Alexandre Oliva * Makefile.am: Moved ltconfig and ltmain.sh back into srcdir, and diff --git a/THANKS b/THANKS index 6568357d6..6d5cfb152 100644 --- a/THANKS +++ b/THANKS @@ -29,6 +29,7 @@ Mark Kettenis Mimi Burbank Oliver Guntermann Raffaele Sena +Ron O'Hara Sebastian Wilhelmi Stephan Kulow Thomas Esser diff --git a/autogen b/autogen index 2444c9000..a33b4c27f 100644 --- a/autogen +++ b/autogen @@ -6,13 +6,13 @@ rm -f acinclude.m4 ln -s libtool.m4 acinclude.m4 -aclocal -automake --gnits --add-missing -autoconf # fake the libtool scripts touch ltconfig touch ltmain.sh touch libtoolize +aclocal +automake --gnits --add-missing +autoconf for sub in demo depdemo libltdl mdemo cdemo; do cd $sub diff --git a/ltconfig.in b/ltconfig.in index eacda516b..7c57f29c1 100755 --- a/ltconfig.in +++ b/ltconfig.in @@ -685,18 +685,26 @@ if test -n "$pic_flag"; then if { (eval echo $progname:@LINENO@: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>conftest.err; } && test -s conftest.$objext; 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= - else + + case "$host_os" in + hpux9* | hpux10* | hpux11*) + # 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= + else + echo "$ac_t"yes 1>&6 + pic_flag=" $pic_flag" + fi + ;; + *) echo "$ac_t"yes 1>&6 pic_flag=" $pic_flag" - fi + ;; + esac else # Append any errors to the config.log. cat conftest.err 1>&5