diff options
| author | Adrian Robert | 2008-08-06 16:19:43 +0000 |
|---|---|---|
| committer | Adrian Robert | 2008-08-06 16:19:43 +0000 |
| commit | d5e2f8fe885e7da9e70ae055e20f4e674a678138 (patch) | |
| tree | 90f83489cdc8c24811b8a9f173e9f9b018ed6cc1 | |
| parent | f4494e843f7d54d1f0c4c7b64715261ee106f02a (diff) | |
| download | emacs-d5e2f8fe885e7da9e70ae055e20f4e674a678138.tar.gz emacs-d5e2f8fe885e7da9e70ae055e20f4e674a678138.zip | |
* configure.in (NS_HAVE_INTEGER): Rename to NS_HAVE_NSINTEGER. (C_SWITCH_X_SYSTEM): Drop -MMD -MP under NS_IMPL_GNUstep.* configure: Regenerate.
| -rw-r--r-- | ChangeLog | 7 | ||||
| -rwxr-xr-x | configure | 14 | ||||
| -rw-r--r-- | configure.in | 16 |
3 files changed, 22 insertions, 15 deletions
| @@ -1,3 +1,10 @@ | |||
| 1 | 2008-08-06 Adrian Robert <Adrian.B.Robert@gmail.com> | ||
| 2 | |||
| 3 | * configure.in (NS_HAVE_INTEGER): Rename to NS_HAVE_NSINTEGER. | ||
| 4 | (C_SWITCH_X_SYSTEM): Drop -MMD -MP under NS_IMPL_GNUstep. | ||
| 5 | |||
| 6 | * configure: Regenerate. | ||
| 7 | |||
| 1 | 2008-08-06 Andreas Schwab <schwab@suse.de> | 8 | 2008-08-06 Andreas Schwab <schwab@suse.de> |
| 2 | 9 | ||
| 3 | * configure.in: Fix quoting. | 10 | * configure.in: Fix quoting. |
| @@ -9332,7 +9332,7 @@ if test $ac_cv_header_AppKit_AppKit_h = yes; then | |||
| 9332 | fi | 9332 | fi |
| 9333 | 9333 | ||
| 9334 | 9334 | ||
| 9335 | NS_HAVE_INTEGER=yes | 9335 | NS_HAVE_NSINTEGER=yes |
| 9336 | cat >conftest.$ac_ext <<_ACEOF | 9336 | cat >conftest.$ac_ext <<_ACEOF |
| 9337 | /* confdefs.h. */ | 9337 | /* confdefs.h. */ |
| 9338 | _ACEOF | 9338 | _ACEOF |
| @@ -9365,17 +9365,17 @@ eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |||
| 9365 | test -z "$ac_c_werror_flag" || | 9365 | test -z "$ac_c_werror_flag" || |
| 9366 | test ! -s conftest.err | 9366 | test ! -s conftest.err |
| 9367 | } && test -s conftest.$ac_objext; then | 9367 | } && test -s conftest.$ac_objext; then |
| 9368 | ns_have_integer=yes | 9368 | ns_have_nsinteger=yes |
| 9369 | else | 9369 | else |
| 9370 | echo "$as_me: failed program was:" >&5 | 9370 | echo "$as_me: failed program was:" >&5 |
| 9371 | sed 's/^/| /' conftest.$ac_ext >&5 | 9371 | sed 's/^/| /' conftest.$ac_ext >&5 |
| 9372 | 9372 | ||
| 9373 | ns_have_integer=no | 9373 | ns_have_nsinteger=no |
| 9374 | fi | 9374 | fi |
| 9375 | 9375 | ||
| 9376 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 9376 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 9377 | if test $ns_have_integer = no; then | 9377 | if test $ns_have_nsinteger = no; then |
| 9378 | NS_HAVE_INTEGER=no | 9378 | NS_HAVE_NSINTEGER=no |
| 9379 | fi | 9379 | fi |
| 9380 | fi | 9380 | fi |
| 9381 | if test "${HAVE_NS}" = yes; then | 9381 | if test "${HAVE_NS}" = yes; then |
| @@ -14894,10 +14894,10 @@ cat >>confdefs.h <<\_ACEOF | |||
| 14894 | _ACEOF | 14894 | _ACEOF |
| 14895 | 14895 | ||
| 14896 | fi | 14896 | fi |
| 14897 | if test "${NS_HAVE_INTEGER}" = "yes"; then | 14897 | if test "${NS_HAVE_NSINTEGER}" = "yes"; then |
| 14898 | 14898 | ||
| 14899 | cat >>confdefs.h <<\_ACEOF | 14899 | cat >>confdefs.h <<\_ACEOF |
| 14900 | #define NS_HAVE_INTEGER 1 | 14900 | #define NS_HAVE_NSINTEGER 1 |
| 14901 | _ACEOF | 14901 | _ACEOF |
| 14902 | 14902 | ||
| 14903 | fi | 14903 | fi |
diff --git a/configure.in b/configure.in index 0de2dab2a44..4f509b5b768 100644 --- a/configure.in +++ b/configure.in | |||
| @@ -1236,13 +1236,13 @@ if test "${with_ns}" != no; then | |||
| 1236 | LDFLAGS="$LDFLAGS -L${GNUSTEP_SYSTEM_LIBRARIES}" | 1236 | LDFLAGS="$LDFLAGS -L${GNUSTEP_SYSTEM_LIBRARIES}" |
| 1237 | fi | 1237 | fi |
| 1238 | AC_CHECK_HEADER(AppKit/AppKit.h, HAVE_NS=yes) | 1238 | AC_CHECK_HEADER(AppKit/AppKit.h, HAVE_NS=yes) |
| 1239 | NS_HAVE_INTEGER=yes | 1239 | NS_HAVE_NSINTEGER=yes |
| 1240 | AC_COMPILE_IFELSE([AC_LANG_PROGRAM([#include <Foundation/NSObjCRuntime.h>], | 1240 | AC_COMPILE_IFELSE([AC_LANG_PROGRAM([#include <Foundation/NSObjCRuntime.h>], |
| 1241 | [NSInteger i;])], | 1241 | [NSInteger i;])], |
| 1242 | ns_have_integer=yes, | 1242 | ns_have_nsinteger=yes, |
| 1243 | ns_have_integer=no) | 1243 | ns_have_nsinteger=no) |
| 1244 | if test $ns_have_integer = no; then | 1244 | if test $ns_have_nsinteger = no; then |
| 1245 | NS_HAVE_INTEGER=no | 1245 | NS_HAVE_NSINTEGER=no |
| 1246 | fi | 1246 | fi |
| 1247 | fi | 1247 | fi |
| 1248 | if test "${HAVE_NS}" = yes; then | 1248 | if test "${HAVE_NS}" = yes; then |
| @@ -2054,8 +2054,8 @@ if test "${HAVE_NS}" = "yes"; then | |||
| 2054 | if test "${NS_IMPL_GNUSTEP}" = "yes"; then | 2054 | if test "${NS_IMPL_GNUSTEP}" = "yes"; then |
| 2055 | AC_DEFINE(NS_IMPL_GNUSTEP, 1, [Define to 1 if you are using NS windowing under GNUstep.]) | 2055 | AC_DEFINE(NS_IMPL_GNUSTEP, 1, [Define to 1 if you are using NS windowing under GNUstep.]) |
| 2056 | fi | 2056 | fi |
| 2057 | if test "${NS_HAVE_INTEGER}" = "yes"; then | 2057 | if test "${NS_HAVE_NSINTEGER}" = "yes"; then |
| 2058 | AC_DEFINE(NS_HAVE_INTEGER, 1, [Define to 1 if `NSInteger' is defined.]) | 2058 | AC_DEFINE(NS_HAVE_NSINTEGER, 1, [Define to 1 if `NSInteger' is defined.]) |
| 2059 | fi | 2059 | fi |
| 2060 | # We also have mouse menus. | 2060 | # We also have mouse menus. |
| 2061 | HAVE_MENUS=yes | 2061 | HAVE_MENUS=yes |
| @@ -2610,7 +2610,7 @@ AH_BOTTOM([ | |||
| 2610 | # endif | 2610 | # endif |
| 2611 | # ifdef NS_IMPL_GNUSTEP | 2611 | # ifdef NS_IMPL_GNUSTEP |
| 2612 | /* See also .m.o rule in Makefile.in */ | 2612 | /* See also .m.o rule in Makefile.in */ |
| 2613 | # define C_SWITCH_X_SYSTEM -MMD -MP -D_REENTRANT -fPIC -fno-strict-aliasing | 2613 | # define C_SWITCH_X_SYSTEM -D_REENTRANT -fPIC -fno-strict-aliasing |
| 2614 | # define GNU_OBJC_CFLAGS -fgnu-runtime -Wno-import -fconstant-string-class=NSConstantString -DGNUSTEP_BASE_LIBRARY=1 -DGNU_GUI_LIBRARY=1 -DGNU_RUNTIME=1 -DGSWARN -DGSDIAGNOSE | 2614 | # define GNU_OBJC_CFLAGS -fgnu-runtime -Wno-import -fconstant-string-class=NSConstantString -DGNUSTEP_BASE_LIBRARY=1 -DGNU_GUI_LIBRARY=1 -DGNU_RUNTIME=1 -DGSWARN -DGSDIAGNOSE |
| 2615 | # define OTHER_FILES ns-app | 2615 | # define OTHER_FILES ns-app |
| 2616 | # else /* NS_IMPL_COCOA */ | 2616 | # else /* NS_IMPL_COCOA */ |