mirror of
git://git.sv.gnu.org/autoconf
synced 2025-03-31 15:00:26 +08:00
(AC_PROG_CPP): If CPP is already set, use that as
the value and set the cache variable to it.
This commit is contained in:
parent
defdd82dc5
commit
efeba5c38f
@ -281,8 +281,10 @@ Syntax Error], ,
|
||||
AC_TRY_CPP([#include <assert.h>
|
||||
Syntax Error], , CPP=/lib/cpp))
|
||||
ac_cv_prog_CPP="$CPP"])dnl
|
||||
CPP="$ac_cv_prog_CPP"
|
||||
else
|
||||
ac_cv_prog_CPP="$CPP"
|
||||
fi
|
||||
CPP="$ac_cv_prog_CPP"
|
||||
AC_MSG_RESULT($CPP)
|
||||
AC_SUBST(CPP)dnl
|
||||
])
|
||||
|
@ -281,8 +281,10 @@ Syntax Error], ,
|
||||
AC_TRY_CPP([#include <assert.h>
|
||||
Syntax Error], , CPP=/lib/cpp))
|
||||
ac_cv_prog_CPP="$CPP"])dnl
|
||||
CPP="$ac_cv_prog_CPP"
|
||||
else
|
||||
ac_cv_prog_CPP="$CPP"
|
||||
fi
|
||||
CPP="$ac_cv_prog_CPP"
|
||||
AC_MSG_RESULT($CPP)
|
||||
AC_SUBST(CPP)dnl
|
||||
])
|
||||
|
Loading…
x
Reference in New Issue
Block a user