Mercurial > vim
comparison src/configure.in @ 1649:68f005107052 v7.2a.001
updated for version 7.2a-001
author | vimboss |
---|---|
date | Thu, 26 Jun 2008 20:14:00 +0000 |
parents | 82b5078be2dd |
children | 0b796e045c42 |
comparison
equal
deleted
inserted
replaced
1648:58cad056e608 | 1649:68f005107052 |
---|---|
1118 dnl Same for "-R/usr/lib ". | 1118 dnl Same for "-R/usr/lib ". |
1119 X_LIBS="`echo $X_LIBS\ | sed -e 's%-R/usr/lib %%' -e 's%-R /usr/lib %%'`" | 1119 X_LIBS="`echo $X_LIBS\ | sed -e 's%-R/usr/lib %%' -e 's%-R /usr/lib %%'`" |
1120 | 1120 |
1121 | 1121 |
1122 dnl Check if the X11 header files are correctly installed. On some systems | 1122 dnl Check if the X11 header files are correctly installed. On some systems |
1123 dnl Xlib.h includes files that don't exist | 1123 dnl Xlib.h includes files that don't exist. On some systems X11/Intrinsic.h |
1124 dnl is missing. | |
1124 AC_MSG_CHECKING(if X11 header files can be found) | 1125 AC_MSG_CHECKING(if X11 header files can be found) |
1125 cflags_save=$CFLAGS | 1126 cflags_save=$CFLAGS |
1126 CFLAGS="$CFLAGS $X_CFLAGS" | 1127 CFLAGS="$CFLAGS $X_CFLAGS" |
1127 AC_TRY_COMPILE([#include <X11/Xlib.h>], , | 1128 AC_TRY_COMPILE([#include <X11/Xlib.h> |
1129 #include <X11/Intrinsic.h>], , | |
1128 AC_MSG_RESULT(yes), | 1130 AC_MSG_RESULT(yes), |
1129 AC_MSG_RESULT(no); no_x=yes) | 1131 AC_MSG_RESULT(no); no_x=yes) |
1130 CFLAGS=$cflags_save | 1132 CFLAGS=$cflags_save |
1131 | 1133 |
1132 if test "${no_x-no}" = yes; then | 1134 if test "${no_x-no}" = yes; then |
2069 | 2071 |
2070 AC_CHECK_HEADERS(stdarg.h stdlib.h string.h sys/select.h sys/utsname.h \ | 2072 AC_CHECK_HEADERS(stdarg.h stdlib.h string.h sys/select.h sys/utsname.h \ |
2071 termcap.h fcntl.h sgtty.h sys/ioctl.h sys/time.h sys/types.h termio.h \ | 2073 termcap.h fcntl.h sgtty.h sys/ioctl.h sys/time.h sys/types.h termio.h \ |
2072 iconv.h langinfo.h math.h unistd.h stropts.h errno.h \ | 2074 iconv.h langinfo.h math.h unistd.h stropts.h errno.h \ |
2073 sys/resource.h sys/systeminfo.h locale.h \ | 2075 sys/resource.h sys/systeminfo.h locale.h \ |
2074 sys/stream.h sys/ptem.h termios.h libc.h sys/statfs.h \ | 2076 sys/stream.h termios.h libc.h sys/statfs.h \ |
2075 poll.h sys/poll.h pwd.h utime.h sys/param.h libintl.h \ | 2077 poll.h sys/poll.h pwd.h utime.h sys/param.h libintl.h \ |
2076 libgen.h util/debug.h util/msg18n.h frame.h \ | 2078 libgen.h util/debug.h util/msg18n.h frame.h \ |
2077 sys/acl.h sys/access.h sys/sysctl.h sys/sysinfo.h wchar.h wctype.h) | 2079 sys/acl.h sys/access.h sys/sysctl.h sys/sysinfo.h wchar.h wctype.h) |
2080 | |
2081 dnl sys/ptem.h depends on sys/stream.h on Solaris | |
2082 AC_CHECK_HEADERS(sys/ptem.h, [], [], | |
2083 [#if defined HAVE_SYS_STREAM_H | |
2084 # include <sys/stream.h> | |
2085 #endif]) | |
2086 | |
2078 | 2087 |
2079 dnl pthread_np.h may exist but can only be used after including pthread.h | 2088 dnl pthread_np.h may exist but can only be used after including pthread.h |
2080 AC_MSG_CHECKING([for pthread_np.h]) | 2089 AC_MSG_CHECKING([for pthread_np.h]) |
2081 AC_TRY_COMPILE([ | 2090 AC_TRY_COMPILE([ |
2082 #include <pthread.h> | 2091 #include <pthread.h> |