IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 3829


Ignore:
Timestamp:
May 2, 2005, 2:39:49 PM (21 years ago)
Author:
jhoblitt
Message:

add parseErrorCodes.pl
add probe for perl binary

Location:
trunk/pois
Files:
1 added
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/pois/configure.ac

    r3821 r3829  
    2121AC_SUBST([pois_CFLAGS])
    2222
    23 AC_PROG_SWIG(1.3.24)
     23AC_PROG_SWIG(1.3.21)
    2424SWIG_MULTI_MODULE_SUPPORT
    2525SWIG_PYTHON
     26
     27dnl lifted from autoconf 2.59's configure.ac
     28AC_PATH_PROG([PERL], perl, no)
     29AC_SUBST([PERL])dnl
     30if test "$PERL" = no; then
     31  AC_MSG_ERROR([perl is not found])
     32fi
     33$PERL -e 'require 5.005_03;' || {
     34   AC_MSG_ERROR([Perl 5.005_03 or better is required])
     35}
    2636
    2737AC_CONFIG_FILES([
  • trunk/pois/src/Makefile.am

    r3796 r3829  
    4040#
    4141poisErrorCodes.h : errorCodes.dat errorCodes-skl.h
    42         parseErrorCodes.pl --data=errorCodes.dat --outfile=poisErrorCodes.h \
     42        $(PERL) parseErrorCodes.pl --data=errorCodes.dat --outfile=poisErrorCodes.h \
    4343                        errorCodes-skl.h
    4444errorCodes.c : errorCodes.dat errorCodes-skl.c poisErrorCodes.h
    45         parseErrorCodes.pl --data=errorCodes.dat --outfile=errorCodes.c \
     45        $(PERL) parseErrorCodes.pl --data=errorCodes.dat --outfile=errorCodes.c \
    4646                        errorCodes-skl.c
    4747#
Note: See TracChangeset for help on using the changeset viewer.