summaryrefslogtreecommitdiff
path: root/ltconfig
diff options
context:
space:
mode:
authorManish Singh <yosh@src.gnome.org>1998-07-01 17:06:47 +0000
committerManish Singh <yosh@src.gnome.org>1998-07-01 17:06:47 +0000
commit09de6fb1d4f02cb8d968d3048c12aa5dfc79b2bb (patch)
tree4985bfdad996327f9979068fcf6765d1f8f95179 /ltconfig
parentddefd9c9f551c385803343a7c024b514cf296346 (diff)
downloadgtk+-09de6fb1d4f02cb8d968d3048c12aa5dfc79b2bb.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 878a7c8122..4cd5626387 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