]> git.ipfire.org Git - thirdparty/libtool.git/commitdiff
*** empty log message ***
authorThomas Tanner <tanner@gmx.de>
Thu, 14 Jan 1999 20:07:09 +0000 (20:07 +0000)
committerThomas Tanner <tanner@gmx.de>
Thu, 14 Jan 1999 20:07:09 +0000 (20:07 +0000)
ChangeLog
THANKS
autogen
ltconfig.in

index 194a3b99bd9d8d5fc6cf6bd26f3615b1b5b4b41d..6e4f65c642d03758d7d5853f2f49de8984e5cecc 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,13 @@
+1999-01-14  Thomas Tanner  <tanner@gmx.de>
+
+       * 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  <oliva@dcc.unicamp.br>
 
        * Makefile.am: Moved ltconfig and ltmain.sh back into srcdir, and
diff --git a/THANKS b/THANKS
index 6568357d674b2be05d908b184390aa39e2630779..6d5cfb152edbe3d0eb17398f546cc93208d9e00c 100644 (file)
--- a/THANKS
+++ b/THANKS
@@ -29,6 +29,7 @@ Mark Kettenis <kettenis@phys.uva.nl>
 Mimi Burbank <mimi@scri.fsu.edu>
 Oliver Guntermann <og@informatik.uni-hannover.de>
 Raffaele Sena <raff@aromatic.com>
+Ron O'Hara <rono@sentuny.com.au>
 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
 Stephan Kulow <coolo@kde.org>
 Thomas Esser <te@informatik.uni-hannover.de>
diff --git a/autogen b/autogen
index 2444c90008c990785d51b085eb77340ecc08a8c7..a33b4c27f335c36a6f94ef269e44844ed101a636 100644 (file)
--- 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
index eacda516b0487fc60fff45610f0f3ce2dee24b09..7c57f29c11a1ed572f1a19261faa622dfa884ccc 100755 (executable)
@@ -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