From f154104379d7110d309928b019ebd9eb88f0eb38 Mon Sep 17 00:00:00 2001 From: Manish Singh Date: Mon, 6 Jul 1998 17:12:48 +0000 Subject: [PATCH] fix for properly detecting shared lib support on SunPro cc (taken from libtool 1.2.a) -Yosh --- ChangeLog | 5 +++++ ChangeLog.pre-2-0 | 5 +++++ ChangeLog.pre-2-10 | 5 +++++ ChangeLog.pre-2-12 | 5 +++++ ChangeLog.pre-2-2 | 5 +++++ ChangeLog.pre-2-4 | 5 +++++ ChangeLog.pre-2-6 | 5 +++++ ChangeLog.pre-2-8 | 5 +++++ ltconfig | 2 +- 9 files changed, 41 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 1987cfc96..de9b6c539 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +Mon Jul 6 10:12:05 PDT 1998 Manish Singh + + * ltconfig: fix for properly detecting shared lib support on + SunPro cc (taken from libtool 1.2.a) + Sat Jul 4 13:38:52 PDT 1998 Manish Singh * glib.h: added g_array_length diff --git a/ChangeLog.pre-2-0 b/ChangeLog.pre-2-0 index 1987cfc96..de9b6c539 100644 --- a/ChangeLog.pre-2-0 +++ b/ChangeLog.pre-2-0 @@ -1,3 +1,8 @@ +Mon Jul 6 10:12:05 PDT 1998 Manish Singh + + * ltconfig: fix for properly detecting shared lib support on + SunPro cc (taken from libtool 1.2.a) + Sat Jul 4 13:38:52 PDT 1998 Manish Singh * glib.h: added g_array_length diff --git a/ChangeLog.pre-2-10 b/ChangeLog.pre-2-10 index 1987cfc96..de9b6c539 100644 --- a/ChangeLog.pre-2-10 +++ b/ChangeLog.pre-2-10 @@ -1,3 +1,8 @@ +Mon Jul 6 10:12:05 PDT 1998 Manish Singh + + * ltconfig: fix for properly detecting shared lib support on + SunPro cc (taken from libtool 1.2.a) + Sat Jul 4 13:38:52 PDT 1998 Manish Singh * glib.h: added g_array_length diff --git a/ChangeLog.pre-2-12 b/ChangeLog.pre-2-12 index 1987cfc96..de9b6c539 100644 --- a/ChangeLog.pre-2-12 +++ b/ChangeLog.pre-2-12 @@ -1,3 +1,8 @@ +Mon Jul 6 10:12:05 PDT 1998 Manish Singh + + * ltconfig: fix for properly detecting shared lib support on + SunPro cc (taken from libtool 1.2.a) + Sat Jul 4 13:38:52 PDT 1998 Manish Singh * glib.h: added g_array_length diff --git a/ChangeLog.pre-2-2 b/ChangeLog.pre-2-2 index 1987cfc96..de9b6c539 100644 --- a/ChangeLog.pre-2-2 +++ b/ChangeLog.pre-2-2 @@ -1,3 +1,8 @@ +Mon Jul 6 10:12:05 PDT 1998 Manish Singh + + * ltconfig: fix for properly detecting shared lib support on + SunPro cc (taken from libtool 1.2.a) + Sat Jul 4 13:38:52 PDT 1998 Manish Singh * glib.h: added g_array_length diff --git a/ChangeLog.pre-2-4 b/ChangeLog.pre-2-4 index 1987cfc96..de9b6c539 100644 --- a/ChangeLog.pre-2-4 +++ b/ChangeLog.pre-2-4 @@ -1,3 +1,8 @@ +Mon Jul 6 10:12:05 PDT 1998 Manish Singh + + * ltconfig: fix for properly detecting shared lib support on + SunPro cc (taken from libtool 1.2.a) + Sat Jul 4 13:38:52 PDT 1998 Manish Singh * glib.h: added g_array_length diff --git a/ChangeLog.pre-2-6 b/ChangeLog.pre-2-6 index 1987cfc96..de9b6c539 100644 --- a/ChangeLog.pre-2-6 +++ b/ChangeLog.pre-2-6 @@ -1,3 +1,8 @@ +Mon Jul 6 10:12:05 PDT 1998 Manish Singh + + * ltconfig: fix for properly detecting shared lib support on + SunPro cc (taken from libtool 1.2.a) + Sat Jul 4 13:38:52 PDT 1998 Manish Singh * glib.h: added g_array_length diff --git a/ChangeLog.pre-2-8 b/ChangeLog.pre-2-8 index 1987cfc96..de9b6c539 100644 --- a/ChangeLog.pre-2-8 +++ b/ChangeLog.pre-2-8 @@ -1,3 +1,8 @@ +Mon Jul 6 10:12:05 PDT 1998 Manish Singh + + * ltconfig: fix for properly detecting shared lib support on + SunPro cc (taken from libtool 1.2.a) + Sat Jul 4 13:38:52 PDT 1998 Manish Singh * glib.h: added g_array_length diff --git a/ltconfig b/ltconfig index 878a7c812..4cd562638 100755 --- a/ltconfig +++ b/ltconfig @@ -561,7 +561,7 @@ if test -n "$pic_flag"; then # Check to make sure the pic_flag actually works. echo $ac_n "checking if $compiler PIC flag $pic_flag works... $ac_c" 1>&6 $rm conftest* - echo > conftest.c + echo "int some_variable = 0;" > conftest.c save_CFLAGS="$CFLAGS" CFLAGS="$CFLAGS $pic_flag -DPIC" echo "$progname:567: checking if $compiler PIC flag $pic_flag works" >&5