diff options
author | dgp <dgp@users.sourceforge.net> | 2013-06-03 20:28:56 (GMT) |
---|---|---|
committer | dgp <dgp@users.sourceforge.net> | 2013-06-03 20:28:56 (GMT) |
commit | 1248bb70a754303d9f7f6ac70dac7a04bbd879e4 (patch) | |
tree | 61d436bc1296b01dc68fabee847bf24eb7c12cf6 /unix/configure | |
parent | c0b4e45ffd661b4211d91f8842bfe94e913e9adc (diff) | |
parent | cd77b0322c67d94a429b5ab610fe9fae236c0b51 (diff) | |
download | tk-1248bb70a754303d9f7f6ac70dac7a04bbd879e4.zip tk-1248bb70a754303d9f7f6ac70dac7a04bbd879e4.tar.gz tk-1248bb70a754303d9f7f6ac70dac7a04bbd879e4.tar.bz2 |
merge 8.5
Diffstat (limited to 'unix/configure')
-rwxr-xr-x | unix/configure | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/unix/configure b/unix/configure index ed4295e..09eff0b 100755 --- a/unix/configure +++ b/unix/configure @@ -5686,7 +5686,7 @@ fi # This configuration from FreeBSD Ports. SHLIB_CFLAGS="-fPIC" SHLIB_LD="${CC} -shared" - TCL_SHLIB_LD_EXTRAS="-Wl,-soname \$@" + TCL_SHLIB_LD_EXTRAS="-Wl,-soname,\$@" SHLIB_SUFFIX=".so" DL_OBJS="tclLoadDl.o" DL_LIBS="" @@ -5694,7 +5694,7 @@ fi if test $doRpath = yes; then CC_SEARCH_FLAGS='-Wl,-rpath,${LIB_RUNTIME_DIR}' - LD_SEARCH_FLAGS='-rpath ${LIB_RUNTIME_DIR}' + LD_SEARCH_FLAGS='-Wl,-rpath,${LIB_RUNTIME_DIR}' fi if test "${TCL_THREADS}" = "1"; then @@ -9876,7 +9876,7 @@ ac_x_header_dirs=' /usr/openwin/share/include' if test "$ac_x_includes" = no; then - # Guess where to find include files, by looking for Intrinsic.h. + # Guess where to find include files, by looking for Xlib.h. # First, try using that file with no special directory specified. cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ @@ -9884,7 +9884,7 @@ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ -#include <X11/Intrinsic.h> +#include <X11/Xlib.h> _ACEOF if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 @@ -9911,7 +9911,7 @@ else sed 's/^/| /' conftest.$ac_ext >&5 for ac_dir in $ac_x_header_dirs; do - if test -r "$ac_dir/X11/Intrinsic.h"; then + if test -r "$ac_dir/X11/Xlib.h"; then ac_x_includes=$ac_dir break fi @@ -9925,18 +9925,18 @@ if test "$ac_x_libraries" = no; then # See if we find them without any special options. # Don't add to $LIBS permanently. ac_save_LIBS=$LIBS - LIBS="-lXt $LIBS" + LIBS="-lX11 $LIBS" cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ -#include <X11/Intrinsic.h> +#include <X11/Xlib.h> int main () { -XtMalloc (0) +XrmInitialize () ; return 0; } |