(xemacs_configure_args): Replace 'CC=...' to `--compiler=*'.
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)
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,