From: Po Lu Date: Mon, 1 Jul 2024 13:35:03 +0000 (+0800) Subject: * configure.ac: Create a cache file for libexec. X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=d1a2078b23ee0bd6e2cebe6f861223528ba1c6ae;p=emacs.git * configure.ac: Create a cache file for libexec. (cherry picked from commit e64286f53c4f5b6c0ed385edfd63a782a8c90b9b) --- diff --git a/configure.ac b/configure.ac index 53eeb89df94..190d13f58d4 100644 --- a/configure.ac +++ b/configure.ac @@ -197,11 +197,16 @@ AS_IF([test "$XCONFIGURE" = "android"],[ AC_MSG_NOTICE([configuring in `exec']) + # Derive a name for a cache file for this configure script from the + # current, if specified. + exec_cache_file= + AS_IF([test -n "$cache_file"], + [exec_cache_file="--cache-file=$cache_file.2"]) OLDCWD=`pwd` cd exec $CONFIG_SHELL $emacs_srcdir/exec/configure \ --host=$host "CC=$CC" "LD=$CC" "AS=$CC" \ - "AR=$AR" "CFLAGS=$CFLAGS" + "AR=$AR" "CFLAGS=$CFLAGS" $exec_cache_file emacs_val=$? cd $OLDCWD