Advertisement
Guest User

Untitled

a guest
Jan 13th, 2010
263
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.87 KB | None | 0 0
  1. diff --git a/Modules/Setup.dist b/Modules/Setup.dist
  2. index e76e0df..bb50000 100644
  3. --- a/Modules/Setup.dist
  4. +++ b/Modules/Setup.dist
  5. -322,11 +322,11 @@ GLHACK=-Dclear=__GLclear
  6. # every system.
  7.  
  8. # *** Always uncomment this (leave the leading underscore in!):
  9. -# _tkinter _tkinter.c tkappinit.c -DWITH_APPINIT \
  10. +_tkinter _tkinter.c tkappinit.c -DWITH_APPINIT \
  11. # *** Uncomment and edit to reflect where your Tcl/Tk libraries are:
  12. -# -L/usr/local/lib \
  13. + -L/home/sab/mypython/lib \
  14. # *** Uncomment and edit to reflect where your Tcl/Tk headers are:
  15. -# -I/usr/local/include \
  16. + -I/home/sab/mypython/include \
  17. # *** Uncomment and edit to reflect where your X11 header files are:
  18. # -I/usr/X11R6/include \
  19. # *** Or uncomment this for Solaris:
  20. -341,7 +341,7 @@ GLHACK=-Dclear=__GLclear
  21. # *** Uncomment and edit for TOGL extension only:
  22. # -DWITH_TOGL togl.c \
  23. # *** Uncomment and edit to reflect your Tcl/Tk versions:
  24. -# -ltk8.2 -ltcl8.2 \
  25. + -ltk8.4 -ltcl8.4 \
  26. # *** Uncomment and edit to reflect where your X11 libraries are:
  27. # -L/usr/X11R6/lib \
  28. # *** Or uncomment this for Solaris:
  29. -349,9 +349,9 @@ GLHACK=-Dclear=__GLclear
  30. # *** Uncomment these for TOGL extension only:
  31. # -lGL -lGLU -lXext -lXmu \
  32. # *** Uncomment for AIX:
  33. -# -lld \
  34. + -lld \
  35. # *** Always uncomment this; X11 libraries to link with:
  36. -# -lX11
  37. + -lX11
  38.  
  39. # Lance Ellinghaus's syslog module
  40. #syslog syslogmodule.c # syslog daemon interface
  41. diff --git a/Modules/ld_so_aix b/Modules/ld_so_aix
  42. index 6b83823..e0b5506 100755
  43. --- a/Modules/ld_so_aix
  44. +++ b/Modules/ld_so_aix
  45. -167,10 +167,11 @@ fi
  46. #echo " -> CC arguments: $args"
  47.  
  48. CCOPT="-Wl,-e$entry -Wl,-bE:$expfile -Wl,-bI:$impfile -Wl,-bhalt:4"
  49. -CCOPT="$CCOPT -Wl,-bM:SRE -Wl,-T512 -Wl,-H512 -lm -o $objfile"
  50. +#CCOPT="$CCOPT -Wl,-bM:SRE -Wl,-T512 -Wl,-H512 -lm -o $objfile"
  51. # Note: to use dynamic libraries like libtcl8.4.so and libtk8.4.so
  52. # you may need to replace the second CCOPT line above with the following:
  53. # CCOPT="$CCOPT -Wl,-bM:SRE -Wl,-T512 -Wl,-H512 -brtl -bnortllib -lm -o $objfile"
  54. +CCOPT="$CCOPT -Wl,-bM:SRE -Wl,-T512 -Wl,-H512 -Wl,-brtl -Wl,-bnortllib -lm -lbsd -o $objfile"
  55.  
  56. CCARGS="$args"
  57.  
  58. diff --git a/configure b/configure
  59. index 7b9da87..0630ea3 100755
  60. --- a/configure
  61. +++ b/configure
  62. -2291,6 +2291,7 @@ else
  63.  
  64. case $ac_sys_system in
  65. AIX*) CC=cc_r
  66. + if test $ac_sys_release = 6; then CC="cc_r -brtl"; fi
  67. without_gcc=;;
  68. BeOS*)
  69. case $BE_HOST_CPU in
  70. -17110,6 +17111,12 @@ cat >>confdefs.h <<\_ACEOF
  71. _ACEOF
  72.  
  73. ;;
  74. + AIX/6)
  75. +cat >>confdefs.h <<\_ACEOF
  76. +#define HAVE_BROKEN_POSIX_SEMAPHORES 1
  77. +_ACEOF
  78. +
  79. + ;;
  80. esac
  81.  
  82. { echo "$as_me:$LINENO: checking if PTHREAD_SCOPE_SYSTEM is supported" >&5
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement