summaryrefslogtreecommitdiff
path: root/ltconfig
diff options
context:
space:
mode:
authorManish Singh <yosh@src.gnome.org>1998-07-06 17:12:48 +0000
committerManish Singh <yosh@src.gnome.org>1998-07-06 17:12:48 +0000
commitf154104379d7110d309928b019ebd9eb88f0eb38 (patch)
tree395f7cad5929bc01683f59b79b06a30520c3cd1b /ltconfig
parent61bccc36a9bffe360e7a70a501a45259c6b27eaf (diff)
downloadglib-f154104379d7110d309928b019ebd9eb88f0eb38.tar.gz
fix for properly detecting shared lib support on SunPro cc (taken from
libtool 1.2.a) -Yosh
Diffstat (limited to 'ltconfig')
-rwxr-xr-xltconfig2
1 files changed, 1 insertions, 1 deletions
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