[Python-checkins] CVS: python/dist/src configure.in,1.202,1.203
Neil Schemenauer
nascheme@users.sourceforge.net
Sun, 18 Feb 2001 20:47:45 -0800
Update of /cvsroot/python/python/dist/src
In directory usw-pr-cvs1:/tmp/cvs-serv21089
Modified Files:
configure.in
Log Message:
Use -G option for linking shared libraries on Solaris (SF patch #103656).
Compile shared object files using -fPIC option when using GCC on Solaris (SF
patch #103865). Closes bug #132783. Move config.c generated by makesetup to
the Modules directory.
Index: configure.in
===================================================================
RCS file: /cvsroot/python/python/dist/src/configure.in,v
retrieving revision 1.202
retrieving revision 1.203
diff -C2 -r1.202 -r1.203
*** configure.in 2001/02/16 04:11:41 1.202
--- configure.in 2001/02/19 04:47:42 1.203
***************
*** 545,549 ****
SunOS/5*)
if test "$GCC" = "yes"
! then LDSHARED='$(CC) -shared'
else LDSHARED="ld -G";
fi ;;
--- 545,549 ----
SunOS/5*)
if test "$GCC" = "yes"
! then LDSHARED='$(CC) -G'
else LDSHARED="ld -G";
fi ;;
***************
*** 591,594 ****
--- 591,597 ----
then
case $ac_sys_system/$ac_sys_release in
+ SunOS*) if test "$GCC" = yes;
+ then CCSHARED="-fPIC";
+ fi;;
hp*|HP*) if test "$GCC" = yes;
then CCSHARED="-fpic";
***************
*** 1442,1443 ****
--- 1445,1447 ----
-s Modules Modules/Setup.config \
Modules/Setup Modules/Setup.local
+ mv config.c Modules