IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Dec 12, 2005, 11:52:24 AM (21 years ago)
Author:
desonia
Message:

merged post-release fixes from CVS main.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/rel9/psModules/configure.ac

    r5693 r5768  
    11AC_PREREQ(2.59)
    22
    3 AC_INIT([psmodule],[0.9.0],[http://pan-starrs.ifa.hawaii.edu/bugzilla])
     3AC_INIT([psmodule],[0.9.1],[http://pan-starrs.ifa.hawaii.edu/bugzilla])
    44AC_CONFIG_SRCDIR([psmodule.pc.in])
    55
     
    3737AC_SUBST([AM_CFLAGS])
    3838
     39dnl ------------------- PERL options ---------------------
     40  AC_ARG_WITH(perl,
     41    [AS_HELP_STRING(--with-perl=FILE,Specify location of PERL executable.)],
     42    [AC_CHECK_PROG(PERL, $withval, $withval)],
     43    [AC_CHECK_PROG(PERL, perl, `which perl`)])
     44    if test "$PERL" == ""
     45    then
     46      AC_MSG_ERROR([PERL is required.  Use --with-perl to specify its install location.])
     47    fi
     48    AC_SUBST(PERL,$PERL)
     49
    3950SRCPATH='${top_srcdir}/src'
    40 SRCDIRS="astrom camera config detrend imcombine imsubtract objects photom"
    41 SRCINC=`echo "${SRCDIRS=}" | ${SED} "s|\(\\w\+\)|-I\${SRCPATH=}/\1|g"`
    42 SRCSUBLIBS=`echo "${SRCDIRS=}" | ${SED} "s|\(\\w\+\)|\1/libpsmodule\1.la|g"`
    43 AC_SUBST([SRCSUBLIBS],${SRCSUBLIBS=})
     51SRCDIRS="astrom config detrend imcombine imsubtract objects"
     52# escape two escapes at this level so \\ gets passed to the shell and \ to perl
     53SRCINC=`echo "${SRCDIRS=}" | ${PERL} -pe "s|(\w+)|-I\\\\${SRCPATH=}/\1|g"`
     54SRCINC="-I${SRCPATH=} ${SRCINC=}"
     55SRCSUBLIBS=`echo "${SRCDIRS=}" | ${PERL} -pe "s|(\w+)|\1/libpsmodule\1.la|g"`
     56AC_SUBST(SRCSUBLIBS,${SRCSUBLIBS=})
     57AC_SUBST(SRCINC,${SRCINC=})
    4458AC_SUBST([SRCDIRS],${SRCDIRS=})
    45 AC_SUBST([SRCINC],${SRCINC=})
    4659
    4760dnl doxygen -------------------------------------------------------------------
     
    5669
    5770if test -z ${PSLIB_CONFIG} ; then
    58   PKG_CHECK_MODULES([PSLIB], [pslib >= 0.8.0])
     71  PKG_CHECK_MODULES([PSLIB], [pslib >= 0.9.0])
    5972else
    6073  AC_CHECK_FILE($PSLIB_CONFIG,[],
     
    7992  src/Makefile
    8093  src/astrom/Makefile
    81   src/camera/Makefile
    8294  src/config/Makefile
    8395  src/detrend/Makefile
     
    8597  src/imsubtract/Makefile
    8698  src/objects/Makefile
    87   src/photom/Makefile
    8899  test/Makefile
    89100  test/astrom/Makefile
    90   test/camera/Makefile
    91101  test/config/Makefile
    92102  test/detrend/Makefile
     
    94104  test/imsubtract/Makefile
    95105  test/objects/Makefile
    96   test/photom/Makefile
    97106  Doxyfile
    98107  psmodule-config
Note: See TracChangeset for help on using the changeset viewer.