Changeset 3182 for trunk/psLib/configure.in
- Timestamp:
- Feb 9, 2005, 4:36:42 PM (21 years ago)
- File:
-
- 1 edited
-
trunk/psLib/configure.in (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psLib/configure.in
r3153 r3182 6 6 AC_SUBST(PSLIB_LT_VERSION,$PSLIB_LT_VERSION) 7 7 8 dnl Setup CFLAGS with project-particulars 9 CFLAGS="${CFLAGS=} -Wall -Werror -std=c99 -D_GNU_SOURCE" 10 8 11 AC_DISABLE_STATIC 9 12 AC_PROG_MAKE_SET 13 14 dnl handle debug building 15 AC_ARG_ENABLE(debug, 16 [AC_HELP_STRING([--enable-debug],[Enable debug information in compilation])], 17 [AC_MSG_RESULT(debug information enabled) 18 AC_DEFINE(DEBUG) 19 CFLAGS="${CFLAGS=} -O0 -g2"], 20 [AC_MSG_RESULT(debug information disabled)] 21 ) 10 22 11 23 AC_LANG(C) … … 16 28 AC_PROG_INSTALL 17 29 AC_PROG_LIBTOOL 30 AC_CHECK_FUNC(strtoll) 31 AC_CHECK_FUNC(strtoull) 18 32 19 33 AC_PREFIX_DEFAULT([`pwd`]) 20 34 test "$prefix" = NONE && prefix=`pwd` 21 35 22 dnl Setup CFLAGS/FFLAGS/LDFLAGS with project-particulars23 CFLAGS="${CFLAGS=} -Wall -std=c99 -D_GNU_SOURCE"24 36 25 37 dnl Setup the info for psLib for pkg-config … … 112 124 AC_SUBST(PERL_PREFIX,$PERL_PREFIX) 113 125 114 dnl ---------------- config dir options ------------------ 115 AC_ARG_WITH(configdir, 116 [AS_HELP_STRING([--with-configdir=DIR],[Specify location of psLib's config directory. [default=PREFIX/config]])], 117 [CONFIG_FILE="$withval/psTime.config" 118 XML_CONFIG_FILE="$withval/psTime.xml"], 119 [CONFIG_FILE="${prefix}/config/psTime.config" 120 XML_CONFIG_FILE="${prefix}/config/psTime.xml"]) 121 AC_DEFINE_UNQUOTED(CONFIG_FILE, "$CONFIG_FILE", [Location of the psTime.config file]) 122 AC_DEFINE_UNQUOTED(XML_CONFIG_FILE, "$XML_CONFIG_FILE", [Location of the psTime.xml file]) 123 124 dnl ----------------- data dir options ------------------- 125 AC_ARG_WITH(datadir, 126 [AS_HELP_STRING([--with-datadir=DIR],[Specify location of psLib's data directory. [default=PREFIX/data]])], 127 [UTC_DAT_FILE="$withval/tai_utc.dat"], 128 [UTC_DAT_FILE="${prefix}/data/tai_utc.dat"]) 129 AC_DEFINE_UNQUOTED(UTC_DAT_FILE, "$UTC_DAT_FILE", [Location of the tai_utc.dat file]) 126 dnl --------- set config/data file location -------------- 127 AC_DEFINE_UNQUOTED(CONFIG_FILE, "$sysconfdir/psTime.config", [Location of the psTime.config file]) 128 AC_DEFINE_UNQUOTED(XML_CONFIG_FILE, "$sysconfdir/psTime.xml", [Location of the psTime.xml file]) 129 AC_DEFINE_UNQUOTED(UTC_DAT_FILE, "$datadir/tai_utc.dat", [Location of the tai_utc.dat file]) 130 130 131 131 dnl for MacOSX, where sqrtf is in mx … … 158 158 AC_CONFIG_FILES([ test/image/Makefile ]) 159 159 AC_CONFIG_FILES([ test/sysUtils/Makefile ]) 160 AC_CONFIG_FILES([ config/Makefile ])160 AC_CONFIG_FILES([ etc/pslib/Makefile ]) 161 161 AC_CONFIG_FILES([ pslib-config ]) 162 162 AC_CONFIG_FILES([ pslib.pc ])
Note:
See TracChangeset
for help on using the changeset viewer.
