diff options
| -rwxr-xr-x | configure | 44 |
1 files changed, 34 insertions, 10 deletions
| @@ -1358,7 +1358,7 @@ Optional Packages: | |||
| 1358 | --with-kerberos5 support Kerberos version 5 authenticated POP | 1358 | --with-kerberos5 support Kerberos version 5 authenticated POP |
| 1359 | --with-hesiod support Hesiod to get the POP server host | 1359 | --with-hesiod support Hesiod to get the POP server host |
| 1360 | --without-sound don't compile with sound support | 1360 | --without-sound don't compile with sound support |
| 1361 | --without-sync-input Process async input synchronously | 1361 | --without-sync-input process async input synchronously |
| 1362 | --with-x-toolkit=KIT use an X toolkit (KIT one of: yes, lucid, athena, | 1362 | --with-x-toolkit=KIT use an X toolkit (KIT one of: yes, lucid, athena, |
| 1363 | motif, gtk, no) | 1363 | motif, gtk, no) |
| 1364 | --without-xpm don't compile with XPM image support | 1364 | --without-xpm don't compile with XPM image support |
| @@ -1382,7 +1382,10 @@ Optional Packages: | |||
| 1382 | --without-makeinfo don't require makeinfo for building manuals | 1382 | --without-makeinfo don't require makeinfo for building manuals |
| 1383 | 1383 | ||
| 1384 | --with-pkg-config-prog=PATH | 1384 | --with-pkg-config-prog=PATH |
| 1385 | Path to pkg-config for finding GTK and librsvg | 1385 | path to pkg-config for finding GTK and librsvg |
| 1386 | --with-gnustep-conf=PATH | ||
| 1387 | path to GNUstep.conf; default $GNUSTEP_CONFIG_FILE, | ||
| 1388 | or /etc/GNUstep/GNUstep.conf | ||
| 1386 | --with-x use the X Window System | 1389 | --with-x use the X Window System |
| 1387 | 1390 | ||
| 1388 | Some influential environment variables: | 1391 | Some influential environment variables: |
| @@ -2158,6 +2161,17 @@ if test "X${with_pkg_config_prog}" != X; then | |||
| 2158 | fi | 2161 | fi |
| 2159 | fi | 2162 | fi |
| 2160 | 2163 | ||
| 2164 | |||
| 2165 | # Check whether --with-gnustep-conf was given. | ||
| 2166 | if test "${with_gnustep_conf+set}" = set; then | ||
| 2167 | withval=$with_gnustep_conf; | ||
| 2168 | fi | ||
| 2169 | |||
| 2170 | test "X${with_gnustep_conf}" != X && test "${with_gnustep_conf}" != yes && \ | ||
| 2171 | GNUSTEP_CONFIG_FILE="${with_gnustep_conf}" | ||
| 2172 | test "X$GNUSTEP_CONFIG_FILE" = "X" && \ | ||
| 2173 | GNUSTEP_CONFIG_FILE=/etc/GNUstep/GNUstep.conf | ||
| 2174 | |||
| 2161 | # Check whether --enable-cocoa-experimental-ctrl-g was given. | 2175 | # Check whether --enable-cocoa-experimental-ctrl-g was given. |
| 2162 | if test "${enable_cocoa_experimental_ctrl_g+set}" = set; then | 2176 | if test "${enable_cocoa_experimental_ctrl_g+set}" = set; then |
| 2163 | enableval=$enable_cocoa_experimental_ctrl_g; EN_COCOA_EXPERIMENTAL_CTRL_G=$enableval | 2177 | enableval=$enable_cocoa_experimental_ctrl_g; EN_COCOA_EXPERIMENTAL_CTRL_G=$enableval |
| @@ -9204,15 +9218,15 @@ if test "${with_ns}" != no; then | |||
| 9204 | ns_appbindir=`pwd`/nextstep/Emacs.app/Contents/MacOS | 9218 | ns_appbindir=`pwd`/nextstep/Emacs.app/Contents/MacOS |
| 9205 | ns_appresdir=`pwd`/nextstep/Emacs.app/Contents/Resources | 9219 | ns_appresdir=`pwd`/nextstep/Emacs.app/Contents/Resources |
| 9206 | ns_appsrc=${srcdir}/nextstep/Cocoa/Emacs.base | 9220 | ns_appsrc=${srcdir}/nextstep/Cocoa/Emacs.base |
| 9207 | elif test -f /etc/GNUstep/GNUstep.conf; then | 9221 | elif test -f $GNUSTEP_CONFIG_FILE; then |
| 9208 | NS_IMPL_GNUSTEP=yes | 9222 | NS_IMPL_GNUSTEP=yes |
| 9209 | ns_appdir=`pwd`/nextstep/Emacs.app | 9223 | ns_appdir=`pwd`/nextstep/Emacs.app |
| 9210 | ns_appbindir=`pwd`/nextstep/Emacs.app | 9224 | ns_appbindir=`pwd`/nextstep/Emacs.app |
| 9211 | ns_appresdir=`pwd`/nextstep/Emacs.app/Resources | 9225 | ns_appresdir=`pwd`/nextstep/Emacs.app/Resources |
| 9212 | ns_appsrc=${srcdir}/nextstep/GNUstep/Emacs.base | 9226 | ns_appsrc=${srcdir}/nextstep/GNUstep/Emacs.base |
| 9213 | GNUSTEP_MAKEFILES="$(source /etc/GNUstep/GNUstep.conf; echo $GNUSTEP_MAKEFILES)" | 9227 | GNUSTEP_MAKEFILES="$(. $GNUSTEP_CONFIG_FILE; echo $GNUSTEP_MAKEFILES)" |
| 9214 | GNUSTEP_SYSTEM_HEADERS="$(source /etc/GNUstep/GNUstep.conf; echo $GNUSTEP_SYSTEM_HEADERS)" | 9228 | GNUSTEP_SYSTEM_HEADERS="$(. $GNUSTEP_CONFIG_FILE; echo $GNUSTEP_SYSTEM_HEADERS)" |
| 9215 | GNUSTEP_SYSTEM_LIBRARIES="$(source /etc/GNUstep/GNUstep.conf; echo $GNUSTEP_SYSTEM_LIBRARIES)" | 9229 | GNUSTEP_SYSTEM_LIBRARIES="$(. $GNUSTEP_CONFIG_FILE; echo $GNUSTEP_SYSTEM_LIBRARIES)" |
| 9216 | CPPFLAGS="$CPPFLAGS -I${GNUSTEP_SYSTEM_HEADERS}" | 9230 | CPPFLAGS="$CPPFLAGS -I${GNUSTEP_SYSTEM_HEADERS}" |
| 9217 | CFLAGS="$CFLAGS -I${GNUSTEP_SYSTEM_HEADERS}" | 9231 | CFLAGS="$CFLAGS -I${GNUSTEP_SYSTEM_HEADERS}" |
| 9218 | REAL_CFLAGS="$REAL_CFLAGS -I${GNUSTEP_SYSTEM_HEADERS}" | 9232 | REAL_CFLAGS="$REAL_CFLAGS -I${GNUSTEP_SYSTEM_HEADERS}" |
| @@ -9345,6 +9359,12 @@ echo "${ECHO_T}$ac_cv_header_AppKit_AppKit_h" >&6; } | |||
| 9345 | fi | 9359 | fi |
| 9346 | if test $ac_cv_header_AppKit_AppKit_h = yes; then | 9360 | if test $ac_cv_header_AppKit_AppKit_h = yes; then |
| 9347 | HAVE_NS=yes | 9361 | HAVE_NS=yes |
| 9362 | else | ||
| 9363 | { { echo "$as_me:$LINENO: error: \`--with-ns' was specified, but the include | ||
| 9364 | files are missing or cannot be compiled." >&5 | ||
| 9365 | echo "$as_me: error: \`--with-ns' was specified, but the include | ||
| 9366 | files are missing or cannot be compiled." >&2;} | ||
| 9367 | { (exit 1); exit 1; }; } | ||
| 9348 | fi | 9368 | fi |
| 9349 | 9369 | ||
| 9350 | 9370 | ||
| @@ -18758,11 +18778,13 @@ _ACEOF | |||
| 18758 | cat confdefs.h >>conftest.$ac_ext | 18778 | cat confdefs.h >>conftest.$ac_ext |
| 18759 | cat >>conftest.$ac_ext <<_ACEOF | 18779 | cat >>conftest.$ac_ext <<_ACEOF |
| 18760 | /* end confdefs.h. */ | 18780 | /* end confdefs.h. */ |
| 18761 | #include <stdio.h> | 18781 | #include <sys/types.h> /* for off_t */ |
| 18782 | #include <stdio.h> | ||
| 18762 | int | 18783 | int |
| 18763 | main () | 18784 | main () |
| 18764 | { | 18785 | { |
| 18765 | return fseeko (stdin, 0, 0) && (fseeko) (stdin, 0, 0); | 18786 | int (*fp) (FILE *, off_t, int) = fseeko; |
| 18787 | return fseeko (stdin, 0, 0) && fp (stdin, 0, 0); | ||
| 18766 | ; | 18788 | ; |
| 18767 | return 0; | 18789 | return 0; |
| 18768 | } | 18790 | } |
| @@ -18802,11 +18824,13 @@ cat confdefs.h >>conftest.$ac_ext | |||
| 18802 | cat >>conftest.$ac_ext <<_ACEOF | 18824 | cat >>conftest.$ac_ext <<_ACEOF |
| 18803 | /* end confdefs.h. */ | 18825 | /* end confdefs.h. */ |
| 18804 | #define _LARGEFILE_SOURCE 1 | 18826 | #define _LARGEFILE_SOURCE 1 |
| 18805 | #include <stdio.h> | 18827 | #include <sys/types.h> /* for off_t */ |
| 18828 | #include <stdio.h> | ||
| 18806 | int | 18829 | int |
| 18807 | main () | 18830 | main () |
| 18808 | { | 18831 | { |
| 18809 | return fseeko (stdin, 0, 0) && (fseeko) (stdin, 0, 0); | 18832 | int (*fp) (FILE *, off_t, int) = fseeko; |
| 18833 | return fseeko (stdin, 0, 0) && fp (stdin, 0, 0); | ||
| 18810 | ; | 18834 | ; |
| 18811 | return 0; | 18835 | return 0; |
| 18812 | } | 18836 | } |