/[pdpsoft]/trunk/grid-mw-security/ees/configure.ac
ViewVC logotype

Diff of /trunk/grid-mw-security/ees/configure.ac

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1261 by aramv, Tue Dec 8 13:15:48 2009 UTC revision 1262 by aramv, Wed Dec 9 14:16:17 2009 UTC
# Line 4  Line 4 
4  AC_PREREQ([1.92])  AC_PREREQ([1.92])
5  AC_INIT([ees], [0.0.1], aramv@nikhef.nl)  AC_INIT([ees], [0.0.1], aramv@nikhef.nl)
6  AM_INIT_AUTOMAKE  AM_INIT_AUTOMAKE
 #AC_CONFIG_SRCDIR([config.h.in])  
7  AC_CONFIG_MACRO_DIR([m4])  AC_CONFIG_MACRO_DIR([m4])
8  AC_CONFIG_HEADERS([include/config.h])  AC_CONFIG_HEADERS([include/config.h])
9    
10  # Checks for programs.  # Checks for programs.
11  # needs to be called before AC_PROG_LIBTOOL  # needs to be called before AC_PROG_LIBTOOL
12  AC_LIBTOOL_DLOPEN  AC_LIBTOOL_DLOPEN
 #AC_PROG_CXX  
 #AC_PROG_AWK  
13  AC_PROG_CC  AC_PROG_CC
14  AM_PROG_CC_C_O  AM_PROG_CC_C_O
15  AC_PROG_CC_STDC  AC_PROG_CC_STDC
# Line 62  SVN_REVISION=`svn info . | sed -ne "s/^R Line 59  SVN_REVISION=`svn info . | sed -ne "s/^R
59  AC_SUBST(SVN_REVISION)  AC_SUBST(SVN_REVISION)
60    
61  # Checks Lex version  # Checks Lex version
62  lex_version=`$LEX --version | sed -e "s/\(f\)lex\s\?//g"`  lex_version=`$LEX --version | sed -e 's/\(f*\)lex\s\?//g'`
63  preferred_lex_version="2.5.9"  preferred_lex_version="2.5.9"
64    
65  AC_MSG_CHECKING([for lex/flex version])  AC_MSG_CHECKING([for lex/flex version])
66  AC_MSG_RESULT($lex_version)  AC_MSG_RESULT($lex_version)
67    
68  AX_COMPARE_VERSION([$preferred_lex_version], [le], [$lex_version], [enable_yylex_destroy="yes"], [enable_yylex_destroy="no"], [We can use yylex_destroy() to clean up the lexer.])  AX_COMPARE_VERSION([$preferred_lex_version], [le], [$lex_version], [enable_yylex_destroy="yes"], [enable_yylex_destroy="no"], [whether yylex_destroy() is available to clean up the lexer.])
69    
70  AM_CONDITIONAL([ENABLE_YYLEX_DESTROY], [test "x$enable_yylex_destroy" = "xyes"])  AM_CONDITIONAL([ENABLE_YYLEX_DESTROY], [test "x$enable_yylex_destroy" = "xyes"])
71    AS_IF([test "x$enable_yylex_destroy" = "xyes"], [
72      AC_DEFINE(HAVE_YYLEX_DESTROY, 1,[yylex_destroy is available to clean up the parser])
73    ], [
74      AC_DEFINE(HAVE_YYLEX_DESTROY, 0,[yylex_destroy is not available to clean up the parser])
75    ])
76    
77  # Release version  # Release version
78  AC_SUBST(MAJOR_VERSION,["0"])  AC_SUBST(MAJOR_VERSION,["0"])

Legend:
Removed from v.1261  
changed lines
  Added in v.1262

grid.support@nikhef.nl
ViewVC Help
Powered by ViewVC 1.1.28