Mercurial > hg > xemacs-beta
comparison configure.in @ 231:557eaa0339bf r20-5b14
Import from CVS: tag r20-5b14
author | cvs |
---|---|
date | Mon, 13 Aug 2007 10:13:48 +0200 |
parents | 0e522484dd2a |
children | 41f2f0e326e9 |
comparison
equal
deleted
inserted
replaced
230:39ed1d2bdd9d | 231:557eaa0339bf |
---|---|
1369 NON_GNU_CPP="/lib/cpp -D_XOPEN_SOURCE" ; | 1369 NON_GNU_CPP="/lib/cpp -D_XOPEN_SOURCE" ; |
1370 fi ;; | 1370 fi ;; |
1371 *-386bsd* ) opsys=386bsd ;; | 1371 *-386bsd* ) opsys=386bsd ;; |
1372 *-freebsd* ) opsys=freebsd ;; | 1372 *-freebsd* ) opsys=freebsd ;; |
1373 *-nextstep* ) opsys=nextstep ;; | 1373 *-nextstep* ) opsys=nextstep ;; |
1374 *-pc-cygwin32 ) opsys=cygwin32 ;; | |
1374 dnl Otherwise, we fall through to the generic opsys code at the bottom. | 1375 dnl Otherwise, we fall through to the generic opsys code at the bottom. |
1375 esac | 1376 esac |
1376 ;; | 1377 ;; |
1377 | 1378 |
1378 dnl Linux/68k | 1379 dnl Linux/68k |
2083 case "$with_x11" in | 2084 case "$with_x11" in |
2084 yes ) window_system=x11 HAVE_X_WINDOWS=yes ;; | 2085 yes ) window_system=x11 HAVE_X_WINDOWS=yes ;; |
2085 no ) window_system=none HAVE_X_WINDOWS=no ;; | 2086 no ) window_system=none HAVE_X_WINDOWS=no ;; |
2086 esac | 2087 esac |
2087 | 2088 |
2089 if test "$window_system" = "none"; then | |
2090 AC_CHECKING(for MS-Windows) | |
2091 AC_CHECK_LIB(gdi32,main,have_msw=yes) | |
2092 if test "$have_msw" = "yes"; then | |
2093 AC_DEFINE(HAVE_MS_WINDOWS) | |
2094 window_system=msw | |
2095 with_scrollbars=msw | |
2096 with_dialogs=msw | |
2097 with_menubars=no | |
2098 with_toolbars=no | |
2099 with_tty=no | |
2100 XE_ADD_OBJS(console-msw.o device-msw.o event-msw.o frame-msw.o objects-msw.o select-msw.o redisplay-msw.o msw-proc.o scrollbar-msw.o) | |
2101 fi | |
2102 fi | |
2103 | |
2088 if test "$with_x11" = "yes"; then | 2104 if test "$with_x11" = "yes"; then |
2089 AC_DEFINE(HAVE_X_WINDOWS) | 2105 AC_DEFINE(HAVE_X_WINDOWS) |
2090 XE_APPEND(lwlib, MAKE_SUBDIR) | 2106 XE_APPEND(lwlib, MAKE_SUBDIR) |
2091 XE_APPEND(lwlib, SRC_SUBDIR_DEPS) | 2107 XE_APPEND(lwlib, SRC_SUBDIR_DEPS) |
2092 | 2108 |
2239 dnl FSF 19.29 has some bitmapdir stuff here. | 2255 dnl FSF 19.29 has some bitmapdir stuff here. |
2240 bitmapdir= | 2256 bitmapdir= |
2241 | 2257 |
2242 case "$window_system" in | 2258 case "$window_system" in |
2243 x11 ) HAVE_X_WINDOWS=yes; echo " Using X11." ;; | 2259 x11 ) HAVE_X_WINDOWS=yes; echo " Using X11." ;; |
2260 msw ) HAVE_X_WINDOWS=no; echo " Using MS-Windows." ;; | |
2244 none ) HAVE_X_WINDOWS=no ; echo " Using no window system." ;; | 2261 none ) HAVE_X_WINDOWS=no ; echo " Using no window system." ;; |
2245 esac | 2262 esac |
2246 | 2263 |
2247 case "$x_libraries" in *X11R4* ) | 2264 case "$x_libraries" in *X11R4* ) |
2248 test "$opsys" = "hpux9" && opsysfile="s/hpux9-x11r4.h" | 2265 test "$opsys" = "hpux9" && opsysfile="s/hpux9-x11r4.h" |