(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:
David MacKenzie 1995-05-06 21:29:00 +00:00
parent defdd82dc5
commit efeba5c38f
2 changed files with 6 additions and 2 deletions

View File

@ -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
])

View File

@ -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
])