IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Feb 17, 2006, 7:13:42 AM (20 years ago)
Author:
magnier
Message:

bulk merge of eam_rel9_p0 onto this branch

File:
1 edited

Legend:

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

    r6362 r6448  
    11AC_PREREQ(2.59)
    22
    3 AC_INIT([psmodule],[0.10.0],[http://pan-starrs.ifa.hawaii.edu/bugzilla])
     3AC_INIT([psmodule],[0.9.99],[http://pan-starrs.ifa.hawaii.edu/bugzilla])
    44AC_CONFIG_SRCDIR([psmodule.pc.in])
    55
     
    88AM_MAINTAINER_MODE
    99
    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 
     10dnl otherise AC_PROG_CC will default CFLAGS to "-g -02"
     11if test -z ${CFLAGS} ; then
     12  CFLAGS=""
     13fi
    2614AC_SUBST([CFLAGS])
    2715
     
    2917AC_PROG_CC
    3018dnl FIXME document why GNU_SOURCE is being set
    31 dnl AC_GNU_SOURCE
     19AC_GNU_SOURCE
    3220AC_PROG_INSTALL
    3321AM_PROG_LIBTOOL
    34 AC_SYS_LARGEFILE
    3522
    3623AC_PREFIX_DEFAULT([`pwd`])
     
    6249
    6350SRCPATH='${top_srcdir}/src'
    64 SRCDIRS="astrom camera config detrend imcombine imsubtract objects photom"
     51SRCDIRS="astrom config detrend imcombine imsubtract objects"
    6552# escape two escapes at this level so \\ gets passed to the shell and \ to perl
    6653SRCINC=`echo "${SRCDIRS=}" | ${PERL} -pe "s|(\w+)|-I\\\\${SRCPATH=}/\1|g"`
    6754SRCINC="-I${SRCPATH=} ${SRCINC=}"
    6855SRCSUBLIBS=`echo "${SRCDIRS=}" | ${PERL} -pe "s|(\w+)|\1/libpsmodule\1.la|g"`
    69 AC_SUBST([SRCSUBLIBS],${SRCSUBLIBS=})
    70 AC_SUBST([SRCINC],${SRCINC=})
     56AC_SUBST(SRCSUBLIBS,${SRCSUBLIBS=})
     57AC_SUBST(SRCINC,${SRCINC=})
    7158AC_SUBST([SRCDIRS],${SRCDIRS=})
     59
     60dnl handle debug building
     61AC_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)
    7268
    7369dnl doxygen -------------------------------------------------------------------
     
    8278
    8379if test -z ${PSLIB_CONFIG} ; then
    84   PKG_CHECK_MODULES([PSLIB], [pslib >= 0.10.0])
     80  PKG_CHECK_MODULES([PSLIB], [pslib >= 0.9.0])
    8581else
    8682  AC_CHECK_FILE($PSLIB_CONFIG,[],
     
    105101  src/Makefile
    106102  src/astrom/Makefile
    107   src/camera/Makefile
    108103  src/config/Makefile
    109104  src/detrend/Makefile
     
    111106  src/imsubtract/Makefile
    112107  src/objects/Makefile
    113   src/photom/Makefile
    114108  test/Makefile
    115109  test/astrom/Makefile
    116   test/camera/Makefile
    117110  test/config/Makefile
    118111  test/detrend/Makefile
     
    120113  test/imsubtract/Makefile
    121114  test/objects/Makefile
    122   test/photom/Makefile
    123115  Doxyfile
    124116  psmodule-config
Note: See TracChangeset for help on using the changeset viewer.