]> git.eshelyaron.com Git - emacs.git/commitdiff
* configure.in [powerpc-apple-darwin*]: Use the -no-cpp-precomp
authorAndrew Choi <akochoi@shaw.ca>
Thu, 7 Aug 2003 16:00:31 +0000 (16:00 +0000)
committerAndrew Choi <akochoi@shaw.ca>
Thu, 7 Aug 2003 16:00:31 +0000 (16:00 +0000)
  option instead of -traditional-cpp for CPP.

ChangeLog
configure
configure.in

index 696b095885c1d5d28407af49fbf57f65fd82607b..1033a51d6ca43d9087ba8ddd0ea130c78a790120 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2003-08-07  Andrew Choi  <akochoi@shaw.ca>
+
+       * configure.in [powerpc-apple-darwin*]: Use the -no-cpp-precomp
+       option instead of -traditional-cpp for CPP.
+
 2003-07-29  Richard M. Stallman  <rms@gnu.org>
 
        * configure.in (HAVE_XIM): Define if XIM is available.
        (*-sunos5.6*, *-solaris2.6*): New alternative.
        (*-sunos5*): Use version 2.6 as default.
 
-2002-09-06  Kai Gro\e,b_\e(Bjohann  <Kai.Grossjohann@CS.Uni-Dortmund.DE>
+2002-09-06  Kai Gro\e,A_\e(Bjohann  <Kai.Grossjohann@CS.Uni-Dortmund.DE>
 
        * configure.in: Fix typo.
 
        * configure.in (gamedir): Handle it like lispdir.
        (--with-game-dir option): Delete.
 
-2002-06-21  Pavel Jan\e,Bm\e(Bk  <Pavel@Janik.cz>
+2002-06-21  Pavel Jan\e,Am\e(Bk  <Pavel@Janik.cz>
 
        * configure.in: Add support for mipseb-*-netbsd* machines.
 
-2002-06-18  Kai Gro\e,b_\e(Bjohann  <Kai.Grossjohann@CS.Uni-Dortmund.DE>
+2002-06-18  Kai Gro\e,A_\e(Bjohann  <Kai.Grossjohann@CS.Uni-Dortmund.DE>
 
        * Makefile.in (install-arch-indep, uninstall): Add Tramp.
 
-2002-06-17  Kai Gro\e,b_\e(Bjohann  <Kai.Grossjohann@CS.Uni-Dortmund.DE>
+2002-06-17  Kai Gro\e,A_\e(Bjohann  <Kai.Grossjohann@CS.Uni-Dortmund.DE>
 
        * info/dir (File): Add an entry for Tramp.
 
 
        * configure.in (emacs_cv_speed_t): Add square brackets for clarity.
 
-2002-05-04  Pavel Jan\e,Bm\e(Bk  <Pavel@Janik.cz>
+2002-05-04  Pavel Jan\e,Am\e(Bk  <Pavel@Janik.cz>
 
        * make-dist: Do not distribute lock/ directory.
 
 
        * configure.in: Delete configure check for access to the game user.
 
-2002-04-29  Pavel Jan\e,Bm\e(Bk  <Pavel@Janik.cz>
+2002-04-29  Pavel Jan\e,Am\e(Bk  <Pavel@Janik.cz>
 
        * make-dist: lwlib/Imakefile is removed.
 
 
        * make-dist: Create directories in mac/Emacs.app.
 
-2002-04-25  Pavel Jan\e,Bm\e(Bk  <Pavel@Janik.cz>
+2002-04-25  Pavel Jan\e,Am\e(Bk  <Pavel@Janik.cz>
 
        * make-dist: lwlib-Xol* are removed.
 
        * configure.in: Add --game-dir, --game-user.  Test to see if we
        can use them.
 
-2002-04-08  Pavel Jan\e,Bm\e(Bk  <Pavel@Janik.cz>
+2002-04-08  Pavel Jan\e,Am\e(Bk  <Pavel@Janik.cz>
 
        * configure.in: Add --with-sound.
 
 
        * configure.in (hppa*-*-linux-gnu*): New alternative.
 
-2001-12-08  Pavel Jan\e,Bm\e(Bk  <Pavel@Janik.cz>
+2001-12-08  Pavel Jan\e,Am\e(Bk  <Pavel@Janik.cz>
 
        * make-dist: Copy COPYING to leim/, lwlib/, mac/ and nt/ when
        creating distribution.
        (HAVE_DES_H, HAVE_KRB5_H): Properly quote args of AC_CHECK_HEADERS;
        this is required by recent Autoconf versions.
 
-2001-12-02  Pavel Jan\e,Bm\e(Bk  <Pavel@Janik.cz>
+2001-12-02  Pavel Jan\e,Am\e(Bk  <Pavel@Janik.cz>
 
        * make-dist: Do not try to link removed files (aclocal.m4, _emacs,
        TODO, vms-pp.trans and others).
 
-2001-11-29  Pavel Jan\e,Bm\e(Bk  <Pavel@Janik.cz>
+2001-11-29  Pavel Jan\e,Am\e(Bk  <Pavel@Janik.cz>
 
        * make-dist: Use COPYING from the top-level directory.
 
 
        * configure.in: Add support for FreeBSD/Alpha.
 
-2001-11-29  Pavel Jan\e,Bm\e(Bk  <Pavel@Janik.cz>
+2001-11-29  Pavel Jan\e,Am\e(Bk  <Pavel@Janik.cz>
 
        * make-dist: Add COPYING to the top-level directory of the
        distribution.  Simplify the logic behind copying.
 2001-11-22  Colin Walters  <walters@debian.org>
 
        * Makefile.in (install-arch-indep): Install the calc .info files.
-       (uninstall): Handle deletion of calc .info files (thanks Pavel Jan\e,Bm\e(Bk).
+       (uninstall): Handle deletion of calc .info files (thanks Pavel Jan\e,Am\e(Bk).
 
 2001-11-17  Eli Zaretskii  <eliz@is.elta.co.il>
 
 
        * configure.in: Add coff.h to the list in AC_CHECK_HEADERS.
 
-2001-11-15  Pavel Jan\e,Bm\e(Bk  <Pavel@Janik.cz>
+2001-11-15  Pavel Jan\e,Am\e(Bk  <Pavel@Janik.cz>
 
        * Makefile.in (uninstall): Fix previous change.
 
        * configure.in, Makefile.in: Add support for --program-prefix,
        --program-suffix and --program-transform-name options.
 
-2001-11-13  Pavel Jan\e,Bm\e(Bk  <Pavel@Janik.cz>
+2001-11-13  Pavel Jan\e,Am\e(Bk  <Pavel@Janik.cz>
 
        * Makefile.in (install-arch-indep): Use `${manext}' instead of `.1'.
        (install-arch-indep): Install emacsclient manual page.
 2001-11-12  Eli Zaretskii  <eliz@is.elta.co.il>
 
        * make-dist: Add lispref/index.*perm files to the distribution.
-       From Pavel Jan\e,Bm\e(Bk <Pavel@Janik.cz>.
+       From Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz>.
 
-2001-11-12  Pavel Jan\e,Bm\e(Bk  <Pavel@Janik.cz>
+2001-11-12  Pavel Jan\e,Am\e(Bk  <Pavel@Janik.cz>
 
        * Makefile.in (uninstall): Remove gfdl.1 when uninstalling.
 
 
        * configure.in: Added a check for <nlist.h>
 
-2001-11-01  Pavel Jan\e,Bm\e(Bk  <Pavel@Janik.cz>
+2001-11-01  Pavel Jan\e,Am\e(Bk  <Pavel@Janik.cz>
 
        * configure.in: Reindent --help output.
        From Per Starback (starback@ling.uu.se).
index 4d417642c2d4da9017006fcbce1a32d4e04ae69a..75602df148345e183426118013ef45d3c8dde9a9 100755 (executable)
--- a/configure
+++ b/configure
@@ -2576,7 +2576,7 @@ _ACEOF
   powerpc-apple-darwin* )
     machine=powermac opsys=darwin
     # Define CPP as follows to make autoconf work correctly.
-    CPP="cc -E -traditional-cpp"
+    CPP="gcc -E -no-cpp-precomp"
   ;;
 
   ## AMD x86-64 Linux-based GNU system
@@ -3420,7 +3420,8 @@ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   (exit $ac_status); }; }; then
   for ac_declaration in \
-   '' \
+   ''\
+   '#include <stdlib.h>' \
    'extern "C" void std::exit (int) throw (); using std::exit;' \
    'extern "C" void std::exit (int); using std::exit;' \
    'extern "C" void exit (int) throw ();' \
@@ -3434,8 +3435,8 @@ _ACEOF
 cat confdefs.h >>conftest.$ac_ext
 cat >>conftest.$ac_ext <<_ACEOF
 /* end confdefs.h.  */
-$ac_declaration
 #include <stdlib.h>
+$ac_declaration
 int
 main ()
 {
@@ -8191,7 +8192,7 @@ echo "$as_me: error: Conflicting options, --with-gtk is incompatible with --with
    { (exit 1); exit 1; }; };
   fi
   GLIB_REQUIRED=2.0.1
-  GTK_REQUIRED=2.0.1
+  GTK_REQUIRED=2.2
   GTK_MODULES="gtk+-2.0 >= $GTK_REQUIRED glib-2.0 >= $GLIB_REQUIRED"
 
     if test "X${with_pkg_config_prog}" != X; then
@@ -8910,6 +8911,50 @@ _ACEOF
   fi
 fi
 
+cat >conftest.$ac_ext <<_ACEOF
+#line $LINENO "configure"
+/* confdefs.h.  */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
+/* end confdefs.h.  */
+
+         #include <X11/Xlib.h>
+         #include <X11/Xresource.h>
+int
+main ()
+{
+XIMProc  callback;
+  ;
+  return 0;
+}
+_ACEOF
+rm -f conftest.$ac_objext
+if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
+  (eval $ac_compile) 2>&5
+  ac_status=$?
+  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+  (exit $ac_status); } &&
+         { ac_try='test -s conftest.$ac_objext'
+  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+  (eval $ac_try) 2>&5
+  ac_status=$?
+  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+  (exit $ac_status); }; }; then
+  HAVE_XIM=yes
+
+cat >>confdefs.h <<\_ACEOF
+#define HAVE_XIM 1
+_ACEOF
+
+else
+  echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+HAVE_XIM=no
+fi
+rm -f conftest.$ac_objext conftest.$ac_ext
+
 
 if test "${with_xim}" != "no"; then
 
@@ -8918,7 +8963,9 @@ cat >>confdefs.h <<\_ACEOF
 _ACEOF
 
 fi
-if test "${HAVE_X11}" = "yes"; then
+
+
+if test "${HAVE_XIM}" != "no"; then
   late_CFLAGS=$CFLAGS
   if test "$GCC" = yes; then
     CFLAGS="$CFLAGS --pedantic-errors"
index abe9d262589dea4e963dc1a1bbae4cdab4f67f2b..627956c84f6c56bcb937bcdc4770d6c10181b7bd 100644 (file)
@@ -1134,7 +1134,7 @@ dnl see the `changequote' comment above.
   powerpc-apple-darwin* )
     machine=powermac opsys=darwin
     # Define CPP as follows to make autoconf work correctly.
-    CPP="cc -E -traditional-cpp"
+    CPP="gcc -E -no-cpp-precomp"
   ;;
 
   ## AMD x86-64 Linux-based GNU system