diff options
| author | Andreas Schwab | 2007-09-01 23:26:52 +0000 |
|---|---|---|
| committer | Andreas Schwab | 2007-09-01 23:26:52 +0000 |
| commit | 28aa2c3e65bfbbd8a1db965b41e5a2632d53f147 (patch) | |
| tree | c66d273ad8f95f6b79c6b230859c57d0f47e576f | |
| parent | 7a5e3e973f65c392ef86be21272fda2f4a0d1c67 (diff) | |
| download | emacs-28aa2c3e65bfbbd8a1db965b41e5a2632d53f147.tar.gz emacs-28aa2c3e65bfbbd8a1db965b41e5a2632d53f147.zip | |
Put quotes around nested macro calls.
| -rw-r--r-- | ChangeLog | 4 | ||||
| -rw-r--r-- | configure.in | 32 |
2 files changed, 20 insertions, 16 deletions
| @@ -1,3 +1,7 @@ | |||
| 1 | 2007-09-01 Andreas Schwab <schwab@suse.de> | ||
| 2 | |||
| 3 | * configure.in: Put quotes around nested macro calls. | ||
| 4 | |||
| 1 | 2007-08-31 Ulrich Mueller <ulm@gentoo.org> (tiny change) | 5 | 2007-08-31 Ulrich Mueller <ulm@gentoo.org> (tiny change) |
| 2 | 6 | ||
| 3 | * configure.in: Fix typo. | 7 | * configure.in: Fix typo. |
diff --git a/configure.in b/configure.in index fc49170bf94..4db05455ba8 100644 --- a/configure.in +++ b/configure.in | |||
| @@ -2281,7 +2281,7 @@ if test "${HAVE_GTK}" = "yes"; then | |||
| 2281 | CFLAGS="$CFLAGS $XFT_CFLAGS" | 2281 | CFLAGS="$CFLAGS $XFT_CFLAGS" |
| 2282 | LIBS="$XFT_LIBS $LIBS" | 2282 | LIBS="$XFT_LIBS $LIBS" |
| 2283 | AC_CHECK_HEADER(X11/Xft/Xft.h, | 2283 | AC_CHECK_HEADER(X11/Xft/Xft.h, |
| 2284 | AC_CHECK_LIB(Xft, XftFontOpen, HAVE_XFT=yes, , $XFT_LIBS)) | 2284 | [AC_CHECK_LIB(Xft, XftFontOpen, HAVE_XFT=yes, , $XFT_LIBS)]) |
| 2285 | 2285 | ||
| 2286 | if test "${HAVE_XFT}" = "yes"; then | 2286 | if test "${HAVE_XFT}" = "yes"; then |
| 2287 | AC_DEFINE(HAVE_XFT, 1, [Define to 1 if you have the Xft library.]) | 2287 | AC_DEFINE(HAVE_XFT, 1, [Define to 1 if you have the Xft library.]) |
| @@ -2458,8 +2458,8 @@ AC_TRY_COMPILE([ | |||
| 2458 | #include <X11/Xlib.h> | 2458 | #include <X11/Xlib.h> |
| 2459 | #include <X11/Xresource.h>], | 2459 | #include <X11/Xresource.h>], |
| 2460 | [XIMProc callback;], | 2460 | [XIMProc callback;], |
| 2461 | HAVE_XIM=yes | 2461 | [HAVE_XIM=yes |
| 2462 | AC_DEFINE(HAVE_XIM, 1, [Define to 1 if XIM is available]), | 2462 | AC_DEFINE(HAVE_XIM, 1, [Define to 1 if XIM is available])], |
| 2463 | HAVE_XIM=no) | 2463 | HAVE_XIM=no) |
| 2464 | 2464 | ||
| 2465 | dnl `--with-xim' now controls only the initial value of use_xim at run time. | 2465 | dnl `--with-xim' now controls only the initial value of use_xim at run time. |
| @@ -2509,7 +2509,7 @@ HAVE_XPM=no | |||
| 2509 | if test "${HAVE_X11}" = "yes"; then | 2509 | if test "${HAVE_X11}" = "yes"; then |
| 2510 | if test "${with_xpm}" != "no"; then | 2510 | if test "${with_xpm}" != "no"; then |
| 2511 | AC_CHECK_HEADER(X11/xpm.h, | 2511 | AC_CHECK_HEADER(X11/xpm.h, |
| 2512 | AC_CHECK_LIB(Xpm, XpmReadFileToPixmap, HAVE_XPM=yes, , -lX11)) | 2512 | [AC_CHECK_LIB(Xpm, XpmReadFileToPixmap, HAVE_XPM=yes, , -lX11)]) |
| 2513 | if test "${HAVE_XPM}" = "yes"; then | 2513 | if test "${HAVE_XPM}" = "yes"; then |
| 2514 | AC_MSG_CHECKING(for XpmReturnAllocPixels preprocessor define) | 2514 | AC_MSG_CHECKING(for XpmReturnAllocPixels preprocessor define) |
| 2515 | AC_EGREP_CPP(no_return_alloc_pixels, | 2515 | AC_EGREP_CPP(no_return_alloc_pixels, |
| @@ -2539,7 +2539,7 @@ if test "${HAVE_X11}" = "yes"; then | |||
| 2539 | dnl Checking for jpeglib.h can lose because of a redefinition of | 2539 | dnl Checking for jpeglib.h can lose because of a redefinition of |
| 2540 | dnl HAVE_STDLIB_H. | 2540 | dnl HAVE_STDLIB_H. |
| 2541 | AC_CHECK_HEADER(jerror.h, | 2541 | AC_CHECK_HEADER(jerror.h, |
| 2542 | AC_CHECK_LIB(jpeg, jpeg_destroy_compress, HAVE_JPEG=yes)) | 2542 | [AC_CHECK_LIB(jpeg, jpeg_destroy_compress, HAVE_JPEG=yes)]) |
| 2543 | fi | 2543 | fi |
| 2544 | 2544 | ||
| 2545 | AH_TEMPLATE(HAVE_JPEG, [Define to 1 if you have the jpeg library (-ljpeg).])dnl | 2545 | AH_TEMPLATE(HAVE_JPEG, [Define to 1 if you have the jpeg library (-ljpeg).])dnl |
| @@ -2549,7 +2549,7 @@ if test "${HAVE_X11}" = "yes"; then | |||
| 2549 | [#include <jpeglib.h> | 2549 | [#include <jpeglib.h> |
| 2550 | version=JPEG_LIB_VERSION | 2550 | version=JPEG_LIB_VERSION |
| 2551 | ], | 2551 | ], |
| 2552 | AC_DEFINE(HAVE_JPEG), | 2552 | [AC_DEFINE(HAVE_JPEG)], |
| 2553 | [AC_MSG_WARN([libjpeg found, but not version 6b or later]) | 2553 | [AC_MSG_WARN([libjpeg found, but not version 6b or later]) |
| 2554 | HAVE_JPEG=no]) | 2554 | HAVE_JPEG=no]) |
| 2555 | fi | 2555 | fi |
| @@ -2577,10 +2577,10 @@ HAVE_TIFF=no | |||
| 2577 | if test "${HAVE_X11}" = "yes"; then | 2577 | if test "${HAVE_X11}" = "yes"; then |
| 2578 | if test "${with_tiff}" != "no"; then | 2578 | if test "${with_tiff}" != "no"; then |
| 2579 | AC_CHECK_HEADER(tiffio.h, | 2579 | AC_CHECK_HEADER(tiffio.h, |
| 2580 | tifflibs="-lz -lm" | 2580 | [tifflibs="-lz -lm" |
| 2581 | # At least one tiff package requires the jpeg library. | 2581 | # At least one tiff package requires the jpeg library. |
| 2582 | if test "${HAVE_JPEG}" = yes; then tifflibs="-ljpeg $tifflibs"; fi | 2582 | if test "${HAVE_JPEG}" = yes; then tifflibs="-ljpeg $tifflibs"; fi |
| 2583 | AC_CHECK_LIB(tiff, TIFFGetVersion, HAVE_TIFF=yes, , $tifflibs)) | 2583 | AC_CHECK_LIB(tiff, TIFFGetVersion, HAVE_TIFF=yes, , $tifflibs)]) |
| 2584 | fi | 2584 | fi |
| 2585 | 2585 | ||
| 2586 | if test "${HAVE_TIFF}" = "yes"; then | 2586 | if test "${HAVE_TIFF}" = "yes"; then |
| @@ -2594,7 +2594,7 @@ if test "${HAVE_X11}" = "yes" && test "${with_gif}" != "no"; then | |||
| 2594 | AC_CHECK_HEADER(gif_lib.h, | 2594 | AC_CHECK_HEADER(gif_lib.h, |
| 2595 | # EGifPutExtensionLast only exists from version libungif-4.1.0b1. | 2595 | # EGifPutExtensionLast only exists from version libungif-4.1.0b1. |
| 2596 | # Earlier versions can crash Emacs. | 2596 | # Earlier versions can crash Emacs. |
| 2597 | AC_CHECK_LIB(gif, EGifPutExtensionLast, HAVE_GIF=yes, try_libungif=yes)) | 2597 | [AC_CHECK_LIB(gif, EGifPutExtensionLast, HAVE_GIF=yes, try_libungif=yes)]) |
| 2598 | 2598 | ||
| 2599 | if test "$HAVE_GIF" = yes; then | 2599 | if test "$HAVE_GIF" = yes; then |
| 2600 | ac_gif_lib_name="-lgif" | 2600 | ac_gif_lib_name="-lgif" |
| @@ -2644,7 +2644,7 @@ fi | |||
| 2644 | HAVE_GPM=no | 2644 | HAVE_GPM=no |
| 2645 | if test "${with_gpm}" != "no"; then | 2645 | if test "${with_gpm}" != "no"; then |
| 2646 | AC_CHECK_HEADER(gpm.h, | 2646 | AC_CHECK_HEADER(gpm.h, |
| 2647 | AC_CHECK_LIB(gpm, Gpm_Open, HAVE_GPM=yes)) | 2647 | [AC_CHECK_LIB(gpm, Gpm_Open, HAVE_GPM=yes)]) |
| 2648 | fi | 2648 | fi |
| 2649 | 2649 | ||
| 2650 | if test "${HAVE_GPM}" = "yes"; then | 2650 | if test "${HAVE_GPM}" = "yes"; then |
| @@ -2652,7 +2652,7 @@ if test "${HAVE_GPM}" = "yes"; then | |||
| 2652 | fi | 2652 | fi |
| 2653 | 2653 | ||
| 2654 | dnl Check for malloc/malloc.h on darwin | 2654 | dnl Check for malloc/malloc.h on darwin |
| 2655 | AC_CHECK_HEADER(malloc/malloc.h, AC_DEFINE(HAVE_MALLOC_MALLOC_H, 1, [Define to 1 if you have the <malloc/malloc.h> header file.])) | 2655 | AC_CHECK_HEADER(malloc/malloc.h, [AC_DEFINE(HAVE_MALLOC_MALLOC_H, 1, [Define to 1 if you have the <malloc/malloc.h> header file.])]) |
| 2656 | 2656 | ||
| 2657 | ### Use Mac OS X Carbon API to implement GUI. | 2657 | ### Use Mac OS X Carbon API to implement GUI. |
| 2658 | if test "${HAVE_CARBON}" = "yes"; then | 2658 | if test "${HAVE_CARBON}" = "yes"; then |
| @@ -2673,7 +2673,7 @@ fi | |||
| 2673 | HAVE_X_SM=no | 2673 | HAVE_X_SM=no |
| 2674 | if test "${HAVE_X11}" = "yes"; then | 2674 | if test "${HAVE_X11}" = "yes"; then |
| 2675 | AC_CHECK_HEADER(X11/SM/SMlib.h, | 2675 | AC_CHECK_HEADER(X11/SM/SMlib.h, |
| 2676 | AC_CHECK_LIB(SM, SmcOpenConnection, HAVE_X_SM=yes, , -lICE)) | 2676 | [AC_CHECK_LIB(SM, SmcOpenConnection, HAVE_X_SM=yes, , -lICE)]) |
| 2677 | 2677 | ||
| 2678 | if test "${HAVE_X_SM}" = "yes"; then | 2678 | if test "${HAVE_X_SM}" = "yes"; then |
| 2679 | AC_DEFINE(HAVE_X_SM, 1, [Define to 1 if you have the SM library (-lSM).]) | 2679 | AC_DEFINE(HAVE_X_SM, 1, [Define to 1 if you have the SM library (-lSM).]) |
| @@ -2784,8 +2784,8 @@ if test "$with_hesiod" = yes ; then | |||
| 2784 | RESOLVLIB= | 2784 | RESOLVLIB= |
| 2785 | fi | 2785 | fi |
| 2786 | AC_CHECK_FUNC(hes_getmailhost, , [AC_CHECK_LIB(hesiod, hes_getmailhost, | 2786 | AC_CHECK_FUNC(hes_getmailhost, , [AC_CHECK_LIB(hesiod, hes_getmailhost, |
| 2787 | AC_DEFINE(HAVE_LIBHESIOD, 1, | 2787 | [AC_DEFINE(HAVE_LIBHESIOD, 1, |
| 2788 | [Define to 1 if you have the hesiod library (-lhesiod).]), | 2788 | [Define to 1 if you have the hesiod library (-lhesiod).])], |
| 2789 | :, $RESOLVLIB)]) | 2789 | :, $RESOLVLIB)]) |
| 2790 | fi | 2790 | fi |
| 2791 | 2791 | ||
| @@ -2797,9 +2797,9 @@ if test "${with_kerberos+set}" = set; then | |||
| 2797 | AC_CHECK_LIB(krb5, krb5_init_context) | 2797 | AC_CHECK_LIB(krb5, krb5_init_context) |
| 2798 | if test "${with_kerberos5+set}" != set; then | 2798 | if test "${with_kerberos5+set}" != set; then |
| 2799 | AC_CHECK_LIB(des425, des_cbc_encrypt,, | 2799 | AC_CHECK_LIB(des425, des_cbc_encrypt,, |
| 2800 | AC_CHECK_LIB(des, des_cbc_encrypt)) | 2800 | [AC_CHECK_LIB(des, des_cbc_encrypt)]) |
| 2801 | AC_CHECK_LIB(krb4, krb_get_cred,, | 2801 | AC_CHECK_LIB(krb4, krb_get_cred,, |
| 2802 | AC_CHECK_LIB(krb, krb_get_cred)) | 2802 | [AC_CHECK_LIB(krb, krb_get_cred)]) |
| 2803 | fi | 2803 | fi |
| 2804 | 2804 | ||
| 2805 | if test "${with_kerberos5+set}" = set; then | 2805 | if test "${with_kerberos5+set}" = set; then |