Changeset 6448 for branches/rel10_ifa/psModules/configure.ac
- Timestamp:
- Feb 17, 2006, 7:13:42 AM (20 years ago)
- File:
-
- 1 edited
-
branches/rel10_ifa/psModules/configure.ac (modified) (8 diffs)
Legend:
- Unmodified
- Added
- Removed
-
branches/rel10_ifa/psModules/configure.ac
r6362 r6448 1 1 AC_PREREQ(2.59) 2 2 3 AC_INIT([psmodule],[0. 10.0],[http://pan-starrs.ifa.hawaii.edu/bugzilla])3 AC_INIT([psmodule],[0.9.99],[http://pan-starrs.ifa.hawaii.edu/bugzilla]) 4 4 AC_CONFIG_SRCDIR([psmodule.pc.in]) 5 5 … … 8 8 AM_MAINTAINER_MODE 9 9 10 dnl handle debug building 11 AC_ARG_ENABLE(optimize, 12 [AS_HELP_STRING(--enable-optimize,enable compiler optimization)], 13 [AC_MSG_RESULT(compile optimization enabled) 14 CFLAGS="${CFLAGS=} -O2"], 15 [AC_MSG_RESULT([compile optimization disabled]) 16 CFLAGS="${CFLAGS=} -O0 -g"] 17 ) 18 19 dnl handle profiler building 20 AC_ARG_ENABLE(profile, 21 [AS_HELP_STRING(--enable-profile,enable compiler profiler information inclusion)], 22 [AC_MSG_RESULT(compile optimization enabled) 23 CFLAGS="${CFLAGS=} -fprofile-arcs -ftest-coverage -pg"] 24 ) 25 10 dnl otherise AC_PROG_CC will default CFLAGS to "-g -02" 11 if test -z ${CFLAGS} ; then 12 CFLAGS="" 13 fi 26 14 AC_SUBST([CFLAGS]) 27 15 … … 29 17 AC_PROG_CC 30 18 dnl FIXME document why GNU_SOURCE is being set 31 dnlAC_GNU_SOURCE19 AC_GNU_SOURCE 32 20 AC_PROG_INSTALL 33 21 AM_PROG_LIBTOOL 34 AC_SYS_LARGEFILE35 22 36 23 AC_PREFIX_DEFAULT([`pwd`]) … … 62 49 63 50 SRCPATH='${top_srcdir}/src' 64 SRCDIRS="astrom c amera config detrend imcombine imsubtract objects photom"51 SRCDIRS="astrom config detrend imcombine imsubtract objects" 65 52 # escape two escapes at this level so \\ gets passed to the shell and \ to perl 66 53 SRCINC=`echo "${SRCDIRS=}" | ${PERL} -pe "s|(\w+)|-I\\\\${SRCPATH=}/\1|g"` 67 54 SRCINC="-I${SRCPATH=} ${SRCINC=}" 68 55 SRCSUBLIBS=`echo "${SRCDIRS=}" | ${PERL} -pe "s|(\w+)|\1/libpsmodule\1.la|g"` 69 AC_SUBST( [SRCSUBLIBS],${SRCSUBLIBS=})70 AC_SUBST( [SRCINC],${SRCINC=})56 AC_SUBST(SRCSUBLIBS,${SRCSUBLIBS=}) 57 AC_SUBST(SRCINC,${SRCINC=}) 71 58 AC_SUBST([SRCDIRS],${SRCDIRS=}) 59 60 dnl handle debug building 61 AC_ARG_ENABLE(optimize, 62 [AS_HELP_STRING(--enable-optimize,enable compiler optimization)], 63 [AC_MSG_RESULT(compile optimization enabled) 64 CFLAGS="${CFLAGS=} -O2"], 65 [AC_MSG_RESULT([compile optimization disabled]) 66 CFLAGS="${CFLAGS=} -O0 -g"] 67 ) 72 68 73 69 dnl doxygen ------------------------------------------------------------------- … … 82 78 83 79 if test -z ${PSLIB_CONFIG} ; then 84 PKG_CHECK_MODULES([PSLIB], [pslib >= 0. 10.0])80 PKG_CHECK_MODULES([PSLIB], [pslib >= 0.9.0]) 85 81 else 86 82 AC_CHECK_FILE($PSLIB_CONFIG,[], … … 105 101 src/Makefile 106 102 src/astrom/Makefile 107 src/camera/Makefile108 103 src/config/Makefile 109 104 src/detrend/Makefile … … 111 106 src/imsubtract/Makefile 112 107 src/objects/Makefile 113 src/photom/Makefile114 108 test/Makefile 115 109 test/astrom/Makefile 116 test/camera/Makefile117 110 test/config/Makefile 118 111 test/detrend/Makefile … … 120 113 test/imsubtract/Makefile 121 114 test/objects/Makefile 122 test/photom/Makefile123 115 Doxyfile 124 116 psmodule-config
Note:
See TracChangeset
for help on using the changeset viewer.
