Use `AC_PROG_CC'.
authorMORIOKA Tomohiko <tomo.git@chise.org>
Thu, 7 Nov 2013 09:57:24 +0000 (18:57 +0900)
committerMORIOKA Tomohiko <tomo.git@chise.org>
Thu, 7 Nov 2013 09:57:24 +0000 (18:57 +0900)
(xemacs_configure_args): Replace 'CC=...' to `--compiler=*'.

configure.in

index 13d9cbe..1d54f7e 100644 (file)
@@ -7,7 +7,7 @@ AC_INIT(chise-base, 0.25, chise-en@m17n.org)
 AC_CANONICAL_TARGET
 
 # Checks for programs.
-# AC_PROG_CC
+AC_PROG_CC
 # AC_PROG_LIBTOOL
 #  AC_CHECK_PROGS(LIBTOOL, glibtool libtool, libtool, \
 #      /usr/local/bin:/opt/bin:/sw/bin:/usr/bin:/bin)
@@ -30,7 +30,8 @@ fi
 
 xemacs_configure_args=`echo $ac_configure_args \
                        | sed 's/--with-site-includes/--site-includes/' \
-                       | sed 's/--with-site-libraries/--site-libraries/'`
+                       | sed 's/--with-site-libraries/--site-libraries/' \
+                       | sed "s/'CC=/'--compiler=/"`
 
 # Settings for optional paths
 AC_ARG_WITH(site_includes,