[lwatch-cvs] files/src config.h.in,1.16,1.17 settings.c,1.30,1.31
Brought to you by:
arturcz
|
From: Artur R. C. <ar...@us...> - 2005-02-16 14:52:44
|
Update of /cvsroot/lwatch/files/src In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv11079/src Modified Files: config.h.in settings.c Log Message: dumping ./configure flags when run with -v Index: settings.c =================================================================== RCS file: /cvsroot/lwatch/files/src/settings.c,v retrieving revision 1.30 retrieving revision 1.31 diff -C2 -d -r1.30 -r1.31 *** settings.c 16 Feb 2005 14:05:40 -0000 1.30 --- settings.c 16 Feb 2005 14:52:35 -0000 1.31 *************** *** 50,53 **** --- 50,57 ---- int omit_config=0; + void show_configure_options() { + printf("\nCompiled with following ./configure options:\n" ALLPARAMS "\n"); + } + void show_licence() { int i; *************** *** 83,93 **** printf("%s\n",usage[i++]); } exit(0); } - void show_configure_options() { - printf("\nCompiled with some weird ./configure options\n"); - } - void show_usage() { int i; --- 87,94 ---- printf("%s\n",usage[i++]); } + show_configure_options(); exit(0); } void show_usage() { int i; *************** *** 95,99 **** "Options:", " -v, --version", ! "\tshow version and copyright notices", " -C, --config filename", "\tread config from filename instead of " DEF_CONF_FILE ",", --- 96,100 ---- "Options:", " -v, --version", ! "\tshow version, copyright notices and ./configure options", " -C, --config filename", "\tread config from filename instead of " DEF_CONF_FILE ",", Index: config.h.in =================================================================== RCS file: /cvsroot/lwatch/files/src/config.h.in,v retrieving revision 1.16 retrieving revision 1.17 diff -C2 -d -r1.16 -r1.17 *** config.h.in 12 Jan 2004 11:17:55 -0000 1.16 --- config.h.in 16 Feb 2005 14:52:35 -0000 1.17 *************** *** 1,4 **** --- 1,7 ---- /* src/config.h.in. Generated from configure.ac by autoheader. */ + /* ./configure options */ + #undef ALLPARAMS + /* Define to 1 if you want to compile with debug support. */ #undef DEBUG |