RCS file: /usr/local/cvs/repositories/pan-starrs/datasys/IPP/psLib/configure.ac,v
retrieving revision 1.51
diff -u -r1.51 configure.ac
|
|
|
|
| 11 | 11 | PSLIB_LT_VERSION="0:9:0" |
| 12 | 12 | AC_SUBST(PSLIB_LT_VERSION,$PSLIB_LT_VERSION) |
| 13 | 13 | |
| 14 | | dnl Determine the location of GNU sed |
| 15 | | AC_CHECK_PROGS([SED],[gsed sed]) |
| 16 | | if test "${SED}" == "" |
| 17 | | then |
| 18 | | AC_MSG_ERROR([GNU SED is required.]) |
| 19 | | fi |
| 20 | | AC_SUBST(SED,[${SED}]) |
| | 14 | dnl ------------------- PERL options --------------------- |
| | 15 | AC_ARG_WITH(perl, |
| | 16 | [AS_HELP_STRING(--with-perl=FILE,Specify location of PERL executable.)], |
| | 17 | [AC_CHECK_PROG(PERL, $withval, $withval)], |
| | 18 | [AC_CHECK_PROG(PERL, perl, `which perl`)]) |
| | 19 | if test "$PERL" == "" |
| | 20 | then |
| | 21 | AC_MSG_ERROR([PERL is required. Use --with-perl to specify its install location.]) |
| | 22 | fi |
| | 23 | AC_SUBST(PERL,$PERL) |
| 21 | 24 | |
| 22 | 25 | SUBDIR="etc src test" dnl don't include 'swig', as it is optional |
| 23 | 26 | |
| 24 | 27 | SRCPATH='${top_srcdir}/src' |
| 25 | 28 | SRCDIRS="sys astro db fft fits imageops math mathtypes types xml" |
| 26 | | SRCINC=`echo "${SRCDIRS=}" | ${SED} "s|\(\\w\+\)|-I\${SRCPATH=}/\1|g"` |
| | 29 | # escape two escapes at this level so \\ gets passed to the shell and \ to perl |
| | 30 | SRCINC=`echo "${SRCDIRS=}" | ${PERL} -pe "s|(\w+)|-I\\\\${SRCPATH=}/\1|g"` |
| 27 | 31 | SRCINC="-I${SRCPATH=} ${SRCINC=}" |
| 28 | | SRCSUBLIBS=`echo "${SRCDIRS=}" | ${SED} "s|\(\\w\+\)|\1/libpslib\1.la|g"` |
| | 32 | SRCSUBLIBS=`echo "${SRCDIRS=}" | ${PERL} -pe "s|(\w+)|\1/libpslib\1.la|g"` |
| 29 | 33 | AC_SUBST(SRCSUBLIBS,${SRCSUBLIBS=}) |
| 30 | 34 | AC_SUBST(SRCINC,${SRCINC=}) |
| 31 | 35 | AC_SUBST(ABS_SRCDIR,`pwd`) dnl assuming configure is run in top directory -- is there something better? |
| … |
… |
|
| 238 | 242 | [AC_MSG_ERROR([SWIG is required. Obtain it at www.swig.org or use --with-swig to specify its install location.])]) |
| 239 | 243 | SUBDIR="${SUBDIR=} swig" |
| 240 | 244 | |
| 241 | | dnl ------------------- PERL options --------------------- |
| 242 | | AC_ARG_WITH(perl, |
| 243 | | [AS_HELP_STRING(--with-perl=FILE,Specify location of PERL executable.)], |
| 244 | | [AC_CHECK_PROG(PERL, $withval, $withval)], |
| 245 | | [AC_CHECK_PROG(PERL, perl, `which perl`)]) |
| 246 | | if test "$PERL" == "" |
| 247 | | then |
| 248 | | AC_MSG_ERROR([PERL is required. Use --with-perl to specify its install location.]) |
| 249 | | fi |
| 250 | | AC_SUBST(PERL,$PERL) |
| 251 | | |
| 252 | 245 | dnl ---------------- PERLPREFIX option ------------------- |
| 253 | 246 | AC_ARG_WITH(perlprefix, |
| 254 | 247 | [AS_HELP_STRING(--with-perlprefix=DIR,Specify prefix of Perl Module's installation. (default=PREFIX))], |
RCS file: /usr/local/cvs/repositories/pan-starrs/datasys/IPP/psLib/etc/pslib/Makefile.am,v
retrieving revision 1.9
diff -u -r1.9 Makefile.am
|
|
|
|
| 7 | 7 | EXTRA_DIST = psTime.xml pslib.config.template |
| 8 | 8 | |
| 9 | 9 | pslib.config: pslib.config.template |
| 10 | | sed 's|PREFIX|$(prefix)|' $? > $@ |
| | 10 | $(PERL) -pe 's|PREFIX|$(prefix)|' $? > $@ |
| 11 | 11 | |
| 12 | 12 | $(sysconfdir)/pslib: |
| 13 | 13 | mkdir -p -m 755 $(sysconfdir)/pslib |
RCS file: /usr/local/cvs/repositories/pan-starrs/datasys/IPP/psLib/src/Makefile.am,v
retrieving revision 1.18
diff -u -r1.18 Makefile.am
|
|
|
|
| 24 | 24 | psErrorText.h |
| 25 | 25 | |
| 26 | 26 | install-exec-hook: libpslib.la |
| 27 | | sed "s|\(^dependency_libs=.*\)|dependency_libs=\'$(PSLIB_LIBS)\'|" $(libdir)/libpslib.la > libpslib.la.temp |
| | 27 | $(PERL) -pe "s|(^dependency_libs=.*)|dependency_libs=\'$(PSLIB_LIBS)\'|" $(libdir)/libpslib.la > libpslib.la.temp |
| 28 | 28 | $(INSTALL) libpslib.la.temp $(libdir)/libpslib.la |
RCS file: /usr/local/cvs/repositories/pan-starrs/datasys/IPP/psLib/swig/Makefile.am,v
retrieving revision 1.18
diff -u -r1.18 Makefile.am
|
|
|
|
| 6 | 6 | |
| 7 | 7 | # this is going into a make file one directory deeper in the tree so the |
| 8 | 8 | # realitive paths need to be adjusted |
| 9 | | SWIGINC=`echo "${SRCINC}" | ${SED} "s|-I|-I../|g"` |
| | 9 | SWIGINC=`echo "${SRCINC}" | ${PERL} -pe "s|-I|-I../|g"` |
| 10 | 10 | |
| 11 | 11 | #################################################### |
| 12 | 12 | ## PsLibModule swig build section. |
RCS file: /usr/local/cvs/repositories/pan-starrs/datasys/IPP/psLib/test/astro/Makefile.am,v
retrieving revision 1.11
diff -u -r1.11 Makefile.am
|
|
|
|
| 43 | 43 | CLEANFILES = $(TESTS) $(check_DATA) temp/* |
| 44 | 44 | |
| 45 | 45 | pslib.config: $(top_srcdir)/etc/pslib/pslib.config.template |
| 46 | | sed 's|PREFIX|$(top_srcdir)|' $? > $@ |
| | 46 | $(PERL) -pe 's|PREFIX|$(top_srcdir)|' $? > $@ |
| 47 | 47 | |
| 48 | 48 | test.psTime.config1: data/test.psTime.config1.template |
| 49 | 49 | cp $? $@ |
| 50 | 50 | |
| 51 | 51 | test.psTime.config2: data/test.psTime.config2.template |
| 52 | | sed 's|PREFIX|$(top_srcdir)|' $? > $@ |
| | 52 | $(PERL) -pe 's|PREFIX|$(top_srcdir)|' $? > $@ |
| 53 | 53 | |
| 54 | 54 | test.psTime.config3: data/test.psTime.config3.template |
| 55 | | sed 's|PREFIX|$(top_srcdir)|' $? > $@ |
| | 55 | $(PERL) -pe 's|PREFIX|$(top_srcdir)|' $? > $@ |
| 56 | 56 | |
| 57 | 57 | test.psTime.config4: data/test.psTime.config4.template |
| 58 | 58 | cp $? $@ |