diff options
| author | Andrew Choi | 2003-08-07 16:00:31 +0000 |
|---|---|---|
| committer | Andrew Choi | 2003-08-07 16:00:31 +0000 |
| commit | abd39b57199460ebbfcd4d98f9824fa8275f23e9 (patch) | |
| tree | 40ff0fde03650e4bfe896ca3341930f9ff5f64cf | |
| parent | 3d880a4b894daa1c0f7068e8e2b59634046bcb3b (diff) | |
| download | emacs-abd39b57199460ebbfcd4d98f9824fa8275f23e9.tar.gz emacs-abd39b57199460ebbfcd4d98f9824fa8275f23e9.zip | |
* configure.in [powerpc-apple-darwin*]: Use the -no-cpp-precomp
option instead of -traditional-cpp for CPP.
| -rw-r--r-- | ChangeLog | 41 | ||||
| -rwxr-xr-x | configure | 57 | ||||
| -rw-r--r-- | configure.in | 2 |
3 files changed, 76 insertions, 24 deletions
| @@ -1,3 +1,8 @@ | |||
| 1 | 2003-08-07 Andrew Choi <akochoi@shaw.ca> | ||
| 2 | |||
| 3 | * configure.in [powerpc-apple-darwin*]: Use the -no-cpp-precomp | ||
| 4 | option instead of -traditional-cpp for CPP. | ||
| 5 | |||
| 1 | 2003-07-29 Richard M. Stallman <rms@gnu.org> | 6 | 2003-07-29 Richard M. Stallman <rms@gnu.org> |
| 2 | 7 | ||
| 3 | * configure.in (HAVE_XIM): Define if XIM is available. | 8 | * configure.in (HAVE_XIM): Define if XIM is available. |
| @@ -304,7 +309,7 @@ | |||
| 304 | (*-sunos5.6*, *-solaris2.6*): New alternative. | 309 | (*-sunos5.6*, *-solaris2.6*): New alternative. |
| 305 | (*-sunos5*): Use version 2.6 as default. | 310 | (*-sunos5*): Use version 2.6 as default. |
| 306 | 311 | ||
| 307 | 2002-09-06 Kai Gro,b_(Bjohann <Kai.Grossjohann@CS.Uni-Dortmund.DE> | 312 | 2002-09-06 Kai Gro,A_(Bjohann <Kai.Grossjohann@CS.Uni-Dortmund.DE> |
| 308 | 313 | ||
| 309 | * configure.in: Fix typo. | 314 | * configure.in: Fix typo. |
| 310 | 315 | ||
| @@ -339,15 +344,15 @@ | |||
| 339 | * configure.in (gamedir): Handle it like lispdir. | 344 | * configure.in (gamedir): Handle it like lispdir. |
| 340 | (--with-game-dir option): Delete. | 345 | (--with-game-dir option): Delete. |
| 341 | 346 | ||
| 342 | 2002-06-21 Pavel Jan,Bm(Bk <Pavel@Janik.cz> | 347 | 2002-06-21 Pavel Jan,Am(Bk <Pavel@Janik.cz> |
| 343 | 348 | ||
| 344 | * configure.in: Add support for mipseb-*-netbsd* machines. | 349 | * configure.in: Add support for mipseb-*-netbsd* machines. |
| 345 | 350 | ||
| 346 | 2002-06-18 Kai Gro,b_(Bjohann <Kai.Grossjohann@CS.Uni-Dortmund.DE> | 351 | 2002-06-18 Kai Gro,A_(Bjohann <Kai.Grossjohann@CS.Uni-Dortmund.DE> |
| 347 | 352 | ||
| 348 | * Makefile.in (install-arch-indep, uninstall): Add Tramp. | 353 | * Makefile.in (install-arch-indep, uninstall): Add Tramp. |
| 349 | 354 | ||
| 350 | 2002-06-17 Kai Gro,b_(Bjohann <Kai.Grossjohann@CS.Uni-Dortmund.DE> | 355 | 2002-06-17 Kai Gro,A_(Bjohann <Kai.Grossjohann@CS.Uni-Dortmund.DE> |
| 351 | 356 | ||
| 352 | * info/dir (File): Add an entry for Tramp. | 357 | * info/dir (File): Add an entry for Tramp. |
| 353 | 358 | ||
| @@ -371,7 +376,7 @@ | |||
| 371 | 376 | ||
| 372 | * configure.in (emacs_cv_speed_t): Add square brackets for clarity. | 377 | * configure.in (emacs_cv_speed_t): Add square brackets for clarity. |
| 373 | 378 | ||
| 374 | 2002-05-04 Pavel Jan,Bm(Bk <Pavel@Janik.cz> | 379 | 2002-05-04 Pavel Jan,Am(Bk <Pavel@Janik.cz> |
| 375 | 380 | ||
| 376 | * make-dist: Do not distribute lock/ directory. | 381 | * make-dist: Do not distribute lock/ directory. |
| 377 | 382 | ||
| @@ -385,7 +390,7 @@ | |||
| 385 | 390 | ||
| 386 | * configure.in: Delete configure check for access to the game user. | 391 | * configure.in: Delete configure check for access to the game user. |
| 387 | 392 | ||
| 388 | 2002-04-29 Pavel Jan,Bm(Bk <Pavel@Janik.cz> | 393 | 2002-04-29 Pavel Jan,Am(Bk <Pavel@Janik.cz> |
| 389 | 394 | ||
| 390 | * make-dist: lwlib/Imakefile is removed. | 395 | * make-dist: lwlib/Imakefile is removed. |
| 391 | 396 | ||
| @@ -396,7 +401,7 @@ | |||
| 396 | 401 | ||
| 397 | * make-dist: Create directories in mac/Emacs.app. | 402 | * make-dist: Create directories in mac/Emacs.app. |
| 398 | 403 | ||
| 399 | 2002-04-25 Pavel Jan,Bm(Bk <Pavel@Janik.cz> | 404 | 2002-04-25 Pavel Jan,Am(Bk <Pavel@Janik.cz> |
| 400 | 405 | ||
| 401 | * make-dist: lwlib-Xol* are removed. | 406 | * make-dist: lwlib-Xol* are removed. |
| 402 | 407 | ||
| @@ -423,7 +428,7 @@ | |||
| 423 | * configure.in: Add --game-dir, --game-user. Test to see if we | 428 | * configure.in: Add --game-dir, --game-user. Test to see if we |
| 424 | can use them. | 429 | can use them. |
| 425 | 430 | ||
| 426 | 2002-04-08 Pavel Jan,Bm(Bk <Pavel@Janik.cz> | 431 | 2002-04-08 Pavel Jan,Am(Bk <Pavel@Janik.cz> |
| 427 | 432 | ||
| 428 | * configure.in: Add --with-sound. | 433 | * configure.in: Add --with-sound. |
| 429 | 434 | ||
| @@ -511,7 +516,7 @@ | |||
| 511 | 516 | ||
| 512 | * configure.in (hppa*-*-linux-gnu*): New alternative. | 517 | * configure.in (hppa*-*-linux-gnu*): New alternative. |
| 513 | 518 | ||
| 514 | 2001-12-08 Pavel Jan,Bm(Bk <Pavel@Janik.cz> | 519 | 2001-12-08 Pavel Jan,Am(Bk <Pavel@Janik.cz> |
| 515 | 520 | ||
| 516 | * make-dist: Copy COPYING to leim/, lwlib/, mac/ and nt/ when | 521 | * make-dist: Copy COPYING to leim/, lwlib/, mac/ and nt/ when |
| 517 | creating distribution. | 522 | creating distribution. |
| @@ -524,12 +529,12 @@ | |||
| 524 | (HAVE_DES_H, HAVE_KRB5_H): Properly quote args of AC_CHECK_HEADERS; | 529 | (HAVE_DES_H, HAVE_KRB5_H): Properly quote args of AC_CHECK_HEADERS; |
| 525 | this is required by recent Autoconf versions. | 530 | this is required by recent Autoconf versions. |
| 526 | 531 | ||
| 527 | 2001-12-02 Pavel Jan,Bm(Bk <Pavel@Janik.cz> | 532 | 2001-12-02 Pavel Jan,Am(Bk <Pavel@Janik.cz> |
| 528 | 533 | ||
| 529 | * make-dist: Do not try to link removed files (aclocal.m4, _emacs, | 534 | * make-dist: Do not try to link removed files (aclocal.m4, _emacs, |
| 530 | TODO, vms-pp.trans and others). | 535 | TODO, vms-pp.trans and others). |
| 531 | 536 | ||
| 532 | 2001-11-29 Pavel Jan,Bm(Bk <Pavel@Janik.cz> | 537 | 2001-11-29 Pavel Jan,Am(Bk <Pavel@Janik.cz> |
| 533 | 538 | ||
| 534 | * make-dist: Use COPYING from the top-level directory. | 539 | * make-dist: Use COPYING from the top-level directory. |
| 535 | 540 | ||
| @@ -537,7 +542,7 @@ | |||
| 537 | 542 | ||
| 538 | * configure.in: Add support for FreeBSD/Alpha. | 543 | * configure.in: Add support for FreeBSD/Alpha. |
| 539 | 544 | ||
| 540 | 2001-11-29 Pavel Jan,Bm(Bk <Pavel@Janik.cz> | 545 | 2001-11-29 Pavel Jan,Am(Bk <Pavel@Janik.cz> |
| 541 | 546 | ||
| 542 | * make-dist: Add COPYING to the top-level directory of the | 547 | * make-dist: Add COPYING to the top-level directory of the |
| 543 | distribution. Simplify the logic behind copying. | 548 | distribution. Simplify the logic behind copying. |
| @@ -582,7 +587,7 @@ | |||
| 582 | 2001-11-22 Colin Walters <walters@debian.org> | 587 | 2001-11-22 Colin Walters <walters@debian.org> |
| 583 | 588 | ||
| 584 | * Makefile.in (install-arch-indep): Install the calc .info files. | 589 | * Makefile.in (install-arch-indep): Install the calc .info files. |
| 585 | (uninstall): Handle deletion of calc .info files (thanks Pavel Jan,Bm(Bk). | 590 | (uninstall): Handle deletion of calc .info files (thanks Pavel Jan,Am(Bk). |
| 586 | 591 | ||
| 587 | 2001-11-17 Eli Zaretskii <eliz@is.elta.co.il> | 592 | 2001-11-17 Eli Zaretskii <eliz@is.elta.co.il> |
| 588 | 593 | ||
| @@ -593,14 +598,14 @@ | |||
| 593 | 598 | ||
| 594 | * configure.in: Add coff.h to the list in AC_CHECK_HEADERS. | 599 | * configure.in: Add coff.h to the list in AC_CHECK_HEADERS. |
| 595 | 600 | ||
| 596 | 2001-11-15 Pavel Jan,Bm(Bk <Pavel@Janik.cz> | 601 | 2001-11-15 Pavel Jan,Am(Bk <Pavel@Janik.cz> |
| 597 | 602 | ||
| 598 | * Makefile.in (uninstall): Fix previous change. | 603 | * Makefile.in (uninstall): Fix previous change. |
| 599 | 604 | ||
| 600 | * configure.in, Makefile.in: Add support for --program-prefix, | 605 | * configure.in, Makefile.in: Add support for --program-prefix, |
| 601 | --program-suffix and --program-transform-name options. | 606 | --program-suffix and --program-transform-name options. |
| 602 | 607 | ||
| 603 | 2001-11-13 Pavel Jan,Bm(Bk <Pavel@Janik.cz> | 608 | 2001-11-13 Pavel Jan,Am(Bk <Pavel@Janik.cz> |
| 604 | 609 | ||
| 605 | * Makefile.in (install-arch-indep): Use `${manext}' instead of `.1'. | 610 | * Makefile.in (install-arch-indep): Use `${manext}' instead of `.1'. |
| 606 | (install-arch-indep): Install emacsclient manual page. | 611 | (install-arch-indep): Install emacsclient manual page. |
| @@ -609,9 +614,9 @@ | |||
| 609 | 2001-11-12 Eli Zaretskii <eliz@is.elta.co.il> | 614 | 2001-11-12 Eli Zaretskii <eliz@is.elta.co.il> |
| 610 | 615 | ||
| 611 | * make-dist: Add lispref/index.*perm files to the distribution. | 616 | * make-dist: Add lispref/index.*perm files to the distribution. |
| 612 | From Pavel Jan,Bm(Bk <Pavel@Janik.cz>. | 617 | From Pavel Jan,Am(Bk <Pavel@Janik.cz>. |
| 613 | 618 | ||
| 614 | 2001-11-12 Pavel Jan,Bm(Bk <Pavel@Janik.cz> | 619 | 2001-11-12 Pavel Jan,Am(Bk <Pavel@Janik.cz> |
| 615 | 620 | ||
| 616 | * Makefile.in (uninstall): Remove gfdl.1 when uninstalling. | 621 | * Makefile.in (uninstall): Remove gfdl.1 when uninstalling. |
| 617 | 622 | ||
| @@ -648,7 +653,7 @@ | |||
| 648 | 653 | ||
| 649 | * configure.in: Added a check for <nlist.h> | 654 | * configure.in: Added a check for <nlist.h> |
| 650 | 655 | ||
| 651 | 2001-11-01 Pavel Jan,Bm(Bk <Pavel@Janik.cz> | 656 | 2001-11-01 Pavel Jan,Am(Bk <Pavel@Janik.cz> |
| 652 | 657 | ||
| 653 | * configure.in: Reindent --help output. | 658 | * configure.in: Reindent --help output. |
| 654 | From Per Starback (starback@ling.uu.se). | 659 | From Per Starback (starback@ling.uu.se). |
| @@ -2576,7 +2576,7 @@ _ACEOF | |||
| 2576 | powerpc-apple-darwin* ) | 2576 | powerpc-apple-darwin* ) |
| 2577 | machine=powermac opsys=darwin | 2577 | machine=powermac opsys=darwin |
| 2578 | # Define CPP as follows to make autoconf work correctly. | 2578 | # Define CPP as follows to make autoconf work correctly. |
| 2579 | CPP="cc -E -traditional-cpp" | 2579 | CPP="gcc -E -no-cpp-precomp" |
| 2580 | ;; | 2580 | ;; |
| 2581 | 2581 | ||
| 2582 | ## AMD x86-64 Linux-based GNU system | 2582 | ## AMD x86-64 Linux-based GNU system |
| @@ -3420,7 +3420,8 @@ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | |||
| 3420 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 3420 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 3421 | (exit $ac_status); }; }; then | 3421 | (exit $ac_status); }; }; then |
| 3422 | for ac_declaration in \ | 3422 | for ac_declaration in \ |
| 3423 | '' \ | 3423 | ''\ |
| 3424 | '#include <stdlib.h>' \ | ||
| 3424 | 'extern "C" void std::exit (int) throw (); using std::exit;' \ | 3425 | 'extern "C" void std::exit (int) throw (); using std::exit;' \ |
| 3425 | 'extern "C" void std::exit (int); using std::exit;' \ | 3426 | 'extern "C" void std::exit (int); using std::exit;' \ |
| 3426 | 'extern "C" void exit (int) throw ();' \ | 3427 | 'extern "C" void exit (int) throw ();' \ |
| @@ -3434,8 +3435,8 @@ _ACEOF | |||
| 3434 | cat confdefs.h >>conftest.$ac_ext | 3435 | cat confdefs.h >>conftest.$ac_ext |
| 3435 | cat >>conftest.$ac_ext <<_ACEOF | 3436 | cat >>conftest.$ac_ext <<_ACEOF |
| 3436 | /* end confdefs.h. */ | 3437 | /* end confdefs.h. */ |
| 3437 | $ac_declaration | ||
| 3438 | #include <stdlib.h> | 3438 | #include <stdlib.h> |
| 3439 | $ac_declaration | ||
| 3439 | int | 3440 | int |
| 3440 | main () | 3441 | main () |
| 3441 | { | 3442 | { |
| @@ -8191,7 +8192,7 @@ echo "$as_me: error: Conflicting options, --with-gtk is incompatible with --with | |||
| 8191 | { (exit 1); exit 1; }; }; | 8192 | { (exit 1); exit 1; }; }; |
| 8192 | fi | 8193 | fi |
| 8193 | GLIB_REQUIRED=2.0.1 | 8194 | GLIB_REQUIRED=2.0.1 |
| 8194 | GTK_REQUIRED=2.0.1 | 8195 | GTK_REQUIRED=2.2 |
| 8195 | GTK_MODULES="gtk+-2.0 >= $GTK_REQUIRED glib-2.0 >= $GLIB_REQUIRED" | 8196 | GTK_MODULES="gtk+-2.0 >= $GTK_REQUIRED glib-2.0 >= $GLIB_REQUIRED" |
| 8196 | 8197 | ||
| 8197 | if test "X${with_pkg_config_prog}" != X; then | 8198 | if test "X${with_pkg_config_prog}" != X; then |
| @@ -8910,6 +8911,50 @@ _ACEOF | |||
| 8910 | fi | 8911 | fi |
| 8911 | fi | 8912 | fi |
| 8912 | 8913 | ||
| 8914 | cat >conftest.$ac_ext <<_ACEOF | ||
| 8915 | #line $LINENO "configure" | ||
| 8916 | /* confdefs.h. */ | ||
| 8917 | _ACEOF | ||
| 8918 | cat confdefs.h >>conftest.$ac_ext | ||
| 8919 | cat >>conftest.$ac_ext <<_ACEOF | ||
| 8920 | /* end confdefs.h. */ | ||
| 8921 | |||
| 8922 | #include <X11/Xlib.h> | ||
| 8923 | #include <X11/Xresource.h> | ||
| 8924 | int | ||
| 8925 | main () | ||
| 8926 | { | ||
| 8927 | XIMProc callback; | ||
| 8928 | ; | ||
| 8929 | return 0; | ||
| 8930 | } | ||
| 8931 | _ACEOF | ||
| 8932 | rm -f conftest.$ac_objext | ||
| 8933 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | ||
| 8934 | (eval $ac_compile) 2>&5 | ||
| 8935 | ac_status=$? | ||
| 8936 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 8937 | (exit $ac_status); } && | ||
| 8938 | { ac_try='test -s conftest.$ac_objext' | ||
| 8939 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
| 8940 | (eval $ac_try) 2>&5 | ||
| 8941 | ac_status=$? | ||
| 8942 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
| 8943 | (exit $ac_status); }; }; then | ||
| 8944 | HAVE_XIM=yes | ||
| 8945 | |||
| 8946 | cat >>confdefs.h <<\_ACEOF | ||
| 8947 | #define HAVE_XIM 1 | ||
| 8948 | _ACEOF | ||
| 8949 | |||
| 8950 | else | ||
| 8951 | echo "$as_me: failed program was:" >&5 | ||
| 8952 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
| 8953 | |||
| 8954 | HAVE_XIM=no | ||
| 8955 | fi | ||
| 8956 | rm -f conftest.$ac_objext conftest.$ac_ext | ||
| 8957 | |||
| 8913 | 8958 | ||
| 8914 | if test "${with_xim}" != "no"; then | 8959 | if test "${with_xim}" != "no"; then |
| 8915 | 8960 | ||
| @@ -8918,7 +8963,9 @@ cat >>confdefs.h <<\_ACEOF | |||
| 8918 | _ACEOF | 8963 | _ACEOF |
| 8919 | 8964 | ||
| 8920 | fi | 8965 | fi |
| 8921 | if test "${HAVE_X11}" = "yes"; then | 8966 | |
| 8967 | |||
| 8968 | if test "${HAVE_XIM}" != "no"; then | ||
| 8922 | late_CFLAGS=$CFLAGS | 8969 | late_CFLAGS=$CFLAGS |
| 8923 | if test "$GCC" = yes; then | 8970 | if test "$GCC" = yes; then |
| 8924 | CFLAGS="$CFLAGS --pedantic-errors" | 8971 | CFLAGS="$CFLAGS --pedantic-errors" |
diff --git a/configure.in b/configure.in index abe9d262589..627956c84f6 100644 --- a/configure.in +++ b/configure.in | |||
| @@ -1134,7 +1134,7 @@ dnl see the `changequote' comment above. | |||
| 1134 | powerpc-apple-darwin* ) | 1134 | powerpc-apple-darwin* ) |
| 1135 | machine=powermac opsys=darwin | 1135 | machine=powermac opsys=darwin |
| 1136 | # Define CPP as follows to make autoconf work correctly. | 1136 | # Define CPP as follows to make autoconf work correctly. |
| 1137 | CPP="cc -E -traditional-cpp" | 1137 | CPP="gcc -E -no-cpp-precomp" |
| 1138 | ;; | 1138 | ;; |
| 1139 | 1139 | ||
| 1140 | ## AMD x86-64 Linux-based GNU system | 1140 | ## AMD x86-64 Linux-based GNU system |