Changeset 5842
- Timestamp:
- Dec 23, 2005, 3:24:00 PM (20 years ago)
- File:
-
- 1 edited
-
trunk/psModules/configure.ac (modified) (6 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psModules/configure.ac
r5760 r5842 8 8 AM_MAINTAINER_MODE 9 9 10 dnl otherise AC_PROG_CC will default CFLAGS to "-g -02" 11 if test -z ${CFLAGS} ; then 12 CFLAGS="-g -O0" 13 fi 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 14 26 AC_SUBST([CFLAGS]) 15 27 … … 49 61 50 62 SRCPATH='${top_srcdir}/src' 51 SRCDIRS="astrom c onfig detrend imcombine imsubtract objects"63 SRCDIRS="astrom camera config detrend imcombine imsubtract objects photom" 52 64 # escape two escapes at this level so \\ gets passed to the shell and \ to perl 53 65 SRCINC=`echo "${SRCDIRS=}" | ${PERL} -pe "s|(\w+)|-I\\\\${SRCPATH=}/\1|g"` 54 66 SRCINC="-I${SRCPATH=} ${SRCINC=}" 55 67 SRCSUBLIBS=`echo "${SRCDIRS=}" | ${PERL} -pe "s|(\w+)|\1/libpsmodule\1.la|g"` 56 AC_SUBST( SRCSUBLIBS,${SRCSUBLIBS=})57 AC_SUBST( SRCINC,${SRCINC=})68 AC_SUBST([SRCSUBLIBS],${SRCSUBLIBS=}) 69 AC_SUBST([SRCINC],${SRCINC=}) 58 70 AC_SUBST([SRCDIRS],${SRCDIRS=}) 59 71 … … 69 81 70 82 if test -z ${PSLIB_CONFIG} ; then 71 PKG_CHECK_MODULES([PSLIB], [pslib >= 0. 9.0])83 PKG_CHECK_MODULES([PSLIB], [pslib >= 0.10.0]) 72 84 else 73 85 AC_CHECK_FILE($PSLIB_CONFIG,[], … … 92 104 src/Makefile 93 105 src/astrom/Makefile 106 src/camera/Makefile 94 107 src/config/Makefile 95 108 src/detrend/Makefile … … 97 110 src/imsubtract/Makefile 98 111 src/objects/Makefile 112 src/photom/Makefile 99 113 test/Makefile 100 114 test/astrom/Makefile 115 test/camera/Makefile 101 116 test/config/Makefile 102 117 test/detrend/Makefile … … 104 119 test/imsubtract/Makefile 105 120 test/objects/Makefile 121 test/photom/Makefile 106 122 Doxyfile 107 123 psmodule-config
Note:
See TracChangeset
for help on using the changeset viewer.
