autoconf: Report the compiler options in the summary
Report the compiler flags and macros that will be used in the build. This just provides a quick way to see what configure has silently been doing.
This commit is contained in:
parent
23656c47c9
commit
16a07fb556
12
configure.ac
12
configure.ac
|
@ -804,6 +804,18 @@ else
|
||||||
echo " Demos: $program_dirs"
|
echo " Demos: $program_dirs"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
dnl Compiler options
|
||||||
|
# cleanup the CFLAGS/CXXFLAGS/DEFINES vars
|
||||||
|
cflags=`echo $CFLAGS $OPT_FLAGS $PIC_FLAGS $ARCH_FLAGS | \
|
||||||
|
$SED 's/^ *//;s/ */ /;s/ *$//'`
|
||||||
|
cxxflags=`echo $CXXFLAGS $OPT_FLAGS $PIC_FLAGS $ARCH_FLAGS | \
|
||||||
|
$SED 's/^ *//;s/ */ /;s/ *$//'`
|
||||||
|
defines=`echo $DEFINES $ASM_FLAGS | $SED 's/^ *//;s/ */ /;s/ *$//'`
|
||||||
|
echo ""
|
||||||
|
echo " CFLAGS: $cflags"
|
||||||
|
echo " CXXFLAGS: $cxxflags"
|
||||||
|
echo " Macros: $defines"
|
||||||
|
|
||||||
echo ""
|
echo ""
|
||||||
echo " Run 'make' to build Mesa"
|
echo " Run 'make' to build Mesa"
|
||||||
echo ""
|
echo ""
|
||||||
|
|
Loading…
Reference in New Issue