From 9e2066befe4944ef22ba045a97685e301d4ccf81 Mon Sep 17 00:00:00 2001 From: SJ Date: Fri, 10 Aug 2012 14:07:50 +0200 Subject: [PATCH] build fix for solaris11 --- configure | 5 ++++- configure.in | 5 ++++- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/configure b/configure index d1deb547..9e639115 100755 --- a/configure +++ b/configure @@ -2031,7 +2031,10 @@ ac_config_headers="$ac_config_headers piler-config.h" CONFIGURE_PARAMS_FILE=params.h -rm -f $CONFIGURE_PARAMS_FILE; echo "#define CONFIGURE_PARAMS \"Build Date: "`date`\\nConfigure command: ./configure $@\""" > $CONFIGURE_PARAMS_FILE + +rm -f $CONFIGURE_PARAMS_FILE +echo "#define CONFIGURE_PARAMS \"Build Date: "`date`"\\n\" \\" > $CONFIGURE_PARAMS_FILE +echo "\"Configure command: ./configure $@\"" >> $CONFIGURE_PARAMS_FILE ac_ext=c ac_cpp='$CPP $CPPFLAGS' diff --git a/configure.in b/configure.in index 125aa406..adcd4421 100644 --- a/configure.in +++ b/configure.in @@ -3,7 +3,10 @@ AC_CONFIG_SRCDIR([src/piler.c]) AC_CONFIG_HEADER(piler-config.h) CONFIGURE_PARAMS_FILE=params.h -rm -f $CONFIGURE_PARAMS_FILE; echo "#define CONFIGURE_PARAMS \"Build Date: "`date`\\nConfigure command: ./configure $@\""" > $CONFIGURE_PARAMS_FILE + +rm -f $CONFIGURE_PARAMS_FILE +echo "#define CONFIGURE_PARAMS \"Build Date: "`date`"\\n\" \\" > $CONFIGURE_PARAMS_FILE +echo "\"Configure command: ./configure $@\"" >> $CONFIGURE_PARAMS_FILE dnl Checks for programs. AC_PROG_CC