-Some scripts support

--Upd map Makefile.in to auto add header file in folder
--Upd configure to fix some debuging issue on some OS (-g flag issue)
--Upd athena-start, add --enlog option to create a log file with a tee. (all the normal console could now be logged into that file) thx to Beanux
nb : this logging option doesn't actually support file oversize
This commit is contained in:
lighta
2013-08-17 09:49:28 -04:00
parent a9b48baad5
commit f2e1bd04b9
4 changed files with 128 additions and 98 deletions

View File

@@ -649,9 +649,11 @@ case $enable_debug in
;;
"yes")
CFLAGS="$CFLAGS -g -DDEBUG"
LDFLAGS="$LDFLAGS -g"
;;
"gdb")
CFLAGS="$CFLAGS -ggdb -DDEBUG"
LDFLAGS="$LDFLAGS -g"
;;
esac
@@ -915,8 +917,10 @@ else
AC_MSG_RESULT([no])
fi
AC_MSG_NOTICE([Configure finish, CFLAGS= $CFLAGS])
AC_MSG_NOTICE([LDFLAGS=$LDFLAGS])
#AC_MSG_NOTICE([PROD_WARN= $PROD_WARN])
#AC_MSG_NOTICE([EXTRA_WARN= $EXTRA_WARN])
AC_MSG_NOTICE([Configure finish, CFLAG= $CFLAGS])
###############################################################################
AC_OUTPUT