diff options
author | das <das> | 2005-05-29 06:48:14 (GMT) |
---|---|---|
committer | das <das> | 2005-05-29 06:48:14 (GMT) |
commit | f9f87619c4eefcfbc4d2bc0dec50946acae8b10b (patch) | |
tree | 533c745a006f66636ae8265e33a9acba405c685b /unix/configure.in | |
parent | 1457c9d3b7b1ae47e257ddca7fbfc0515dfffc95 (diff) | |
download | tk-f9f87619c4eefcfbc4d2bc0dec50946acae8b10b.zip tk-f9f87619c4eefcfbc4d2bc0dec50946acae8b10b.tar.gz tk-f9f87619c4eefcfbc4d2bc0dec50946acae8b10b.tar.bz2 |
* unix/configure.in: skip X11 configure checks when building tk_aqua.
* unix/configure: autoconf-2.13
Diffstat (limited to 'unix/configure.in')
-rw-r--r-- | unix/configure.in | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/unix/configure.in b/unix/configure.in index cbb3fed..78d7684 100644 --- a/unix/configure.in +++ b/unix/configure.in @@ -3,7 +3,7 @@ dnl This file is an input file used by the GNU "autoconf" program to dnl generate the file "configure", which is run during Tk installation dnl to configure the system for the local environment. # -# RCS: @(#) $Id: configure.in,v 1.83.2.18 2005/05/27 18:52:41 hobbs Exp $ +# RCS: @(#) $Id: configure.in,v 1.83.2.19 2005/05/29 06:48:16 das Exp $ AC_INIT(../generic/tk.h) AC_PREREQ(2.13) @@ -310,7 +310,9 @@ eval "LD_SEARCH_FLAGS=\"$TCL_LD_SEARCH_FLAGS\"" # if -lsocket doesn't work by itself. #-------------------------------------------------------------------- -AC_CHECK_LIB(Xbsd, main, [LIBS="$LIBS -lXbsd"]) +if test $tk_aqua = no; then + AC_CHECK_LIB(Xbsd, main, [LIBS="$LIBS -lXbsd"]) +fi tk_checkBoth=0 AC_CHECK_FUNC(connect, tk_checkSocket=0, tk_checkSocket=1) @@ -335,7 +337,7 @@ AC_CHECK_FUNC(gethostbyname, , [AC_CHECK_LIB(nsl, main, [LIBS="$LIBS -lnsl"])]) # because it can't deal with the "-" in the library name. #-------------------------------------------------------------------- -if test -d /usr/include/mit ; then +if test -d /usr/include/mit -a $tk_aqua = no; then AC_MSG_CHECKING([MIT X libraries]) tk_oldCFlags=$CFLAGS CFLAGS="$CFLAGS -I/usr/include/mit" |