pike.git
/
src
/
configure.in
version
»
Context lines:
10
20
40
80
file
none
3
pike.git/src/configure.in:924:
else # force_smartlink_script_only AC_MSG_CHECKING(for smartlink build script) SMARTLINK="$BINDIR/smartlink" REALCC="$CC" AC_MSG_RESULT($SMARTLINK) fi # force_smartlink_script_only CC="$SMARTLINK $REALCC" pike_cv_prog_CC="$CC"
+
# Check if there's a C++ compiler.
+
AC_PROG_CXX
+
# Strip smartlink from $CXX
+
REALCXX="`echo $CXX|sed -e 's/.*smartlink //'`"
+
CXX="$SMARTLINK $REALCXX"
+
pike_cv_prog_CXX="$CXX"
+
AC_SUBST(SMARTLINK) AC_SUBST(REALCC)
-
export REALCC SMARTLINK
+
AC_SUBST(REALCXX)
+
export REALCC
REALCXX
SMARTLINK
AC_MSG_CHECKING([for a fallback compiler]) # Strip smartlink from $FALLBACK_CC FALLBACK_CC="`echo $FALLBACK_CC|sed -e 's/.*smartlink //'`" if test "x$FALLBACK_CC" = "x"; then AC_MSG_RESULT(no) else FALLBACK_CC="$SMARTLINK $FALLBACK_CC" AC_MSG_RESULT($FALLBACK_CC) fi