mirror of
https://github.com/postgres/postgres.git
synced 2025-06-25 01:02:05 +03:00
From: Bruce Stephens <bruce@cenderis.demon.co.uk>
fix for the tk problem...
This commit is contained in:
4
src/configure
vendored
4
src/configure
vendored
@ -3371,7 +3371,7 @@ else
|
|||||||
fi
|
fi
|
||||||
rm -f conftest*
|
rm -f conftest*
|
||||||
|
|
||||||
if test $ac_cv_prog_gcc = yes; then
|
if test x$ac_cv_prog_gcc = xyes; then
|
||||||
echo $ac_n "checking whether ${CC-cc} needs -traditional""... $ac_c" 1>&6
|
echo $ac_n "checking whether ${CC-cc} needs -traditional""... $ac_c" 1>&6
|
||||||
echo "configure:3377: checking whether ${CC-cc} needs -traditional" >&5
|
echo "configure:3377: checking whether ${CC-cc} needs -traditional" >&5
|
||||||
if eval "test \"`echo '$''{'ac_cv_prog_gcc_traditional'+set}'`\" = set"; then
|
if eval "test \"`echo '$''{'ac_cv_prog_gcc_traditional'+set}'`\" = set"; then
|
||||||
@ -5617,7 +5617,7 @@ if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
|
|||||||
echo $ac_n "(cached) $ac_c" 1>&6
|
echo $ac_n "(cached) $ac_c" 1>&6
|
||||||
else
|
else
|
||||||
ac_save_LIBS="$LIBS"
|
ac_save_LIBS="$LIBS"
|
||||||
LIBS="-l$tk_lib $LIBS"
|
LIBS="-l$tk_lib $TCL_LIB $X_PRE_LIBS $X_LIBS $X11_LIBS $LIBS"
|
||||||
cat > conftest.$ac_ext <<EOF
|
cat > conftest.$ac_ext <<EOF
|
||||||
#line 5623 "configure"
|
#line 5623 "configure"
|
||||||
#include "confdefs.h"
|
#include "confdefs.h"
|
||||||
|
@ -659,7 +659,7 @@ then
|
|||||||
tk_libs="tk8.0 tk80 tk4.2 tk42 tk"
|
tk_libs="tk8.0 tk80 tk4.2 tk42 tk"
|
||||||
for tk_lib in $tk_libs; do
|
for tk_lib in $tk_libs; do
|
||||||
if test -z "$TK_LIB"; then
|
if test -z "$TK_LIB"; then
|
||||||
AC_CHECK_LIB($tk_lib, main, TK_LIB=$tk_lib)
|
AC_CHECK_LIB($tk_lib, main, TK_LIB=$tk_lib,, $TCL_LIB $X_PRE_LIBS $X_LIBS $X11_LIBS)
|
||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
if test -z "$TK_LIB"; then
|
if test -z "$TK_LIB"; then
|
||||||
|
Reference in New Issue
Block a user