+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
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>
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
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