diff options
| author | Glenn Morris | 2013-09-16 06:17:41 -0400 |
|---|---|---|
| committer | Glenn Morris | 2013-09-16 06:17:41 -0400 |
| commit | c6ad9bcaded7363a11128e7a005e45fb53c7dd87 (patch) | |
| tree | 137ac90addbc784524e58ce0c4a3c77ec714b5ed | |
| parent | f8eb15727ae6a5c629e27ab9755e638766b27822 (diff) | |
| download | emacs-c6ad9bcaded7363a11128e7a005e45fb53c7dd87.tar.gz emacs-c6ad9bcaded7363a11128e7a005e45fb53c7dd87.zip | |
Auto-commit of generated files.
| -rwxr-xr-x | autogen/configure | 51 |
1 files changed, 46 insertions, 5 deletions
diff --git a/autogen/configure b/autogen/configure index a0f302b4ac0..72439e795d6 100755 --- a/autogen/configure +++ b/autogen/configure | |||
| @@ -10041,7 +10041,11 @@ fi | |||
| 10041 | 10041 | ||
| 10042 | 10042 | ||
| 10043 | 10043 | ||
| 10044 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 10044 | macfont_file="" |
| 10045 | if test "${NS_IMPL_COCOA}" = "yes"; then | ||
| 10046 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for OSX 10.4 or newer" >&5 | ||
| 10047 | $as_echo_n "checking for OSX 10.4 or newer... " >&6; } | ||
| 10048 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | ||
| 10045 | /* end confdefs.h. */ | 10049 | /* end confdefs.h. */ |
| 10046 | #include <AppKit/AppKit.h> | 10050 | #include <AppKit/AppKit.h> |
| 10047 | int | 10051 | int |
| @@ -10066,6 +10070,45 @@ else | |||
| 10066 | ns_osx_have_104=no | 10070 | ns_osx_have_104=no |
| 10067 | fi | 10071 | fi |
| 10068 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 10072 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 10073 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ns_osx_have_104" >&5 | ||
| 10074 | $as_echo "$ns_osx_have_104" >&6; } | ||
| 10075 | |||
| 10076 | if test $ns_osx_have_104 = no; then | ||
| 10077 | as_fn_error "\`OSX 10.4 or newer is required'" "$LINENO" 5; | ||
| 10078 | fi | ||
| 10079 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for OSX 10.5 or newer" >&5 | ||
| 10080 | $as_echo_n "checking for OSX 10.5 or newer... " >&6; } | ||
| 10081 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | ||
| 10082 | /* end confdefs.h. */ | ||
| 10083 | #include <AppKit/AppKit.h> | ||
| 10084 | int | ||
| 10085 | main () | ||
| 10086 | { | ||
| 10087 | |||
| 10088 | #ifdef MAC_OS_X_VERSION_MAX_ALLOWED | ||
| 10089 | #if MAC_OS_X_VERSION_MAX_ALLOWED >= 1050 | ||
| 10090 | ; /* OK */ | ||
| 10091 | #else | ||
| 10092 | #error "OSX 10.5 not found" | ||
| 10093 | #endif | ||
| 10094 | #endif | ||
| 10095 | |||
| 10096 | ; | ||
| 10097 | return 0; | ||
| 10098 | } | ||
| 10099 | _ACEOF | ||
| 10100 | if ac_fn_c_try_compile "$LINENO"; then : | ||
| 10101 | ns_osx_have_105=yes | ||
| 10102 | else | ||
| 10103 | ns_osx_have_105=no | ||
| 10104 | fi | ||
| 10105 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
| 10106 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ns_osx_have_105" >&5 | ||
| 10107 | $as_echo "$ns_osx_have_105" >&6; } | ||
| 10108 | if test $ns_osx_have_105 = yes; then | ||
| 10109 | macfont_file="macfont.o" | ||
| 10110 | fi | ||
| 10111 | fi | ||
| 10069 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 10112 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 10070 | /* end confdefs.h. */ | 10113 | /* end confdefs.h. */ |
| 10071 | #include <Foundation/NSObjCRuntime.h> | 10114 | #include <Foundation/NSObjCRuntime.h> |
| @@ -10083,9 +10126,6 @@ else | |||
| 10083 | ns_have_nsinteger=no | 10126 | ns_have_nsinteger=no |
| 10084 | fi | 10127 | fi |
| 10085 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 10128 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 10086 | if test $ns_osx_have_104 = no; then | ||
| 10087 | as_fn_error "\`OSX 10.4 or newer is required'" "$LINENO" 5; | ||
| 10088 | fi | ||
| 10089 | if test $ns_have_nsinteger = yes; then | 10129 | if test $ns_have_nsinteger = yes; then |
| 10090 | 10130 | ||
| 10091 | $as_echo "#define NS_HAVE_NSINTEGER 1" >>confdefs.h | 10131 | $as_echo "#define NS_HAVE_NSINTEGER 1" >>confdefs.h |
| @@ -10120,7 +10160,8 @@ if test "${HAVE_NS}" = yes; then | |||
| 10120 | leimdir="\${ns_appresdir}/leim" | 10160 | leimdir="\${ns_appresdir}/leim" |
| 10121 | INSTALL_ARCH_INDEP_EXTRA= | 10161 | INSTALL_ARCH_INDEP_EXTRA= |
| 10122 | fi | 10162 | fi |
| 10123 | NS_OBJC_OBJ="nsterm.o nsfns.o nsmenu.o nsselect.o nsimage.o nsfont.o" | 10163 | |
| 10164 | NS_OBJC_OBJ="nsterm.o nsfns.o nsmenu.o nsselect.o nsimage.o nsfont.o $macfont_file" | ||
| 10124 | fi | 10165 | fi |
| 10125 | CFLAGS="$tmp_CFLAGS" | 10166 | CFLAGS="$tmp_CFLAGS" |
| 10126 | CPPFLAGS="$tmp_CPPFLAGS" | 10167 | CPPFLAGS="$tmp_CPPFLAGS" |