Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- diff --git a/Modules/Setup.dist b/Modules/Setup.dist
- index e76e0df..bb50000 100644
- --- a/Modules/Setup.dist
- +++ b/Modules/Setup.dist
- -322,11 +322,11 @@ GLHACK=-Dclear=__GLclear
- # every system.
- # *** Always uncomment this (leave the leading underscore in!):
- -# _tkinter _tkinter.c tkappinit.c -DWITH_APPINIT \
- +_tkinter _tkinter.c tkappinit.c -DWITH_APPINIT \
- # *** Uncomment and edit to reflect where your Tcl/Tk libraries are:
- -# -L/usr/local/lib \
- + -L/home/sab/mypython/lib \
- # *** Uncomment and edit to reflect where your Tcl/Tk headers are:
- -# -I/usr/local/include \
- + -I/home/sab/mypython/include \
- # *** Uncomment and edit to reflect where your X11 header files are:
- # -I/usr/X11R6/include \
- # *** Or uncomment this for Solaris:
- -341,7 +341,7 @@ GLHACK=-Dclear=__GLclear
- # *** Uncomment and edit for TOGL extension only:
- # -DWITH_TOGL togl.c \
- # *** Uncomment and edit to reflect your Tcl/Tk versions:
- -# -ltk8.2 -ltcl8.2 \
- + -ltk8.4 -ltcl8.4 \
- # *** Uncomment and edit to reflect where your X11 libraries are:
- # -L/usr/X11R6/lib \
- # *** Or uncomment this for Solaris:
- -349,9 +349,9 @@ GLHACK=-Dclear=__GLclear
- # *** Uncomment these for TOGL extension only:
- # -lGL -lGLU -lXext -lXmu \
- # *** Uncomment for AIX:
- -# -lld \
- + -lld \
- # *** Always uncomment this; X11 libraries to link with:
- -# -lX11
- + -lX11
- # Lance Ellinghaus's syslog module
- #syslog syslogmodule.c # syslog daemon interface
- diff --git a/Modules/ld_so_aix b/Modules/ld_so_aix
- index 6b83823..e0b5506 100755
- --- a/Modules/ld_so_aix
- +++ b/Modules/ld_so_aix
- -167,10 +167,11 @@ fi
- #echo " -> CC arguments: $args"
- CCOPT="-Wl,-e$entry -Wl,-bE:$expfile -Wl,-bI:$impfile -Wl,-bhalt:4"
- -CCOPT="$CCOPT -Wl,-bM:SRE -Wl,-T512 -Wl,-H512 -lm -o $objfile"
- +#CCOPT="$CCOPT -Wl,-bM:SRE -Wl,-T512 -Wl,-H512 -lm -o $objfile"
- # Note: to use dynamic libraries like libtcl8.4.so and libtk8.4.so
- # you may need to replace the second CCOPT line above with the following:
- # CCOPT="$CCOPT -Wl,-bM:SRE -Wl,-T512 -Wl,-H512 -brtl -bnortllib -lm -o $objfile"
- +CCOPT="$CCOPT -Wl,-bM:SRE -Wl,-T512 -Wl,-H512 -Wl,-brtl -Wl,-bnortllib -lm -lbsd -o $objfile"
- CCARGS="$args"
- diff --git a/configure b/configure
- index 7b9da87..0630ea3 100755
- --- a/configure
- +++ b/configure
- -2291,6 +2291,7 @@ else
- case $ac_sys_system in
- AIX*) CC=cc_r
- + if test $ac_sys_release = 6; then CC="cc_r -brtl"; fi
- without_gcc=;;
- BeOS*)
- case $BE_HOST_CPU in
- -17110,6 +17111,12 @@ cat >>confdefs.h <<\_ACEOF
- _ACEOF
- ;;
- + AIX/6)
- +cat >>confdefs.h <<\_ACEOF
- +#define HAVE_BROKEN_POSIX_SEMAPHORES 1
- +_ACEOF
- +
- + ;;
- esac
- { echo "$as_me:$LINENO: checking if PTHREAD_SCOPE_SYSTEM is supported" >&5
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement