mirror of
https://bitbucket.org/jsuto/piler.git
synced 2024-12-24 18:50:12 +01:00
added glibc and gcc version to piler -V
This commit is contained in:
parent
0ded5892db
commit
06a1897970
7
configure
vendored
7
configure
vendored
@ -3446,10 +3446,15 @@ if test "$os" = "SunOS"; then MAKE="gmake"; fi
|
|||||||
|
|
||||||
rm -f $CONFIGURE_PARAMS_FILE
|
rm -f $CONFIGURE_PARAMS_FILE
|
||||||
|
|
||||||
|
LDD_VERSION=`ldd --version | head -1`
|
||||||
|
GCC_VERSION=''
|
||||||
|
|
||||||
|
if test -f `which gcc`; then gcc -v 2> aa; GCC_VERSION=`tail -1 aa`; rm -f aa; fi
|
||||||
|
|
||||||
if test "$os" = "SunOS"; then
|
if test "$os" = "SunOS"; then
|
||||||
echo "#define CONFIGURE_PARAMS \"Build Date: "`date`'\\n" \\' > $CONFIGURE_PARAMS_FILE
|
echo "#define CONFIGURE_PARAMS \"Build Date: "`date`'\\n" \\' > $CONFIGURE_PARAMS_FILE
|
||||||
else
|
else
|
||||||
echo "#define CONFIGURE_PARAMS \"Build Date: "`date`"\\n\" \\" > $CONFIGURE_PARAMS_FILE
|
echo "#define CONFIGURE_PARAMS \"Build Date: "`date`"\\nldd version: $LDD_VERSION\\ngcc version: $GCC_VERSION\n"\" \\ > $CONFIGURE_PARAMS_FILE
|
||||||
fi
|
fi
|
||||||
echo "\"Configure command: ./configure $PARAMS\"" >> $CONFIGURE_PARAMS_FILE
|
echo "\"Configure command: ./configure $PARAMS\"" >> $CONFIGURE_PARAMS_FILE
|
||||||
|
|
||||||
|
@ -68,15 +68,19 @@ if test "$os" = "SunOS"; then MAKE="gmake"; fi
|
|||||||
|
|
||||||
rm -f $CONFIGURE_PARAMS_FILE
|
rm -f $CONFIGURE_PARAMS_FILE
|
||||||
|
|
||||||
|
LDD_VERSION=`ldd --version | head -1`
|
||||||
|
GCC_VERSION=''
|
||||||
|
|
||||||
|
if test -f `which gcc`; then gcc -v 2> aa; GCC_VERSION=`tail -1 aa`; rm -f aa; fi
|
||||||
|
|
||||||
if test "$os" = "SunOS"; then
|
if test "$os" = "SunOS"; then
|
||||||
echo "#define CONFIGURE_PARAMS \"Build Date: "`date`'\\n" \\' > $CONFIGURE_PARAMS_FILE
|
echo "#define CONFIGURE_PARAMS \"Build Date: "`date`'\\n" \\' > $CONFIGURE_PARAMS_FILE
|
||||||
else
|
else
|
||||||
echo "#define CONFIGURE_PARAMS \"Build Date: "`date`"\\n\" \\" > $CONFIGURE_PARAMS_FILE
|
echo "#define CONFIGURE_PARAMS \"Build Date: "`date`"\\nldd version: $LDD_VERSION\\ngcc version: $GCC_VERSION\n"\" \\ > $CONFIGURE_PARAMS_FILE
|
||||||
fi
|
fi
|
||||||
echo "\"Configure command: ./configure $PARAMS\"" >> $CONFIGURE_PARAMS_FILE
|
echo "\"Configure command: ./configure $PARAMS\"" >> $CONFIGURE_PARAMS_FILE
|
||||||
|
|
||||||
|
|
||||||
dnl SUBDIRS="src etc util perl init.d templates history contrib/stat"
|
|
||||||
SUBDIRS="src etc util init.d test"
|
SUBDIRS="src etc util init.d test"
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user