comparison configure.in @ 133:2ec889a79e51

patch from Fridrich Strba, some systems need extra library for regex
author Carl Byington <carl@five-ten-sg.com>
date Sat, 07 Feb 2009 07:57:32 -0800
parents 5e4d6faada34
children 16770fc77139
comparison
equal deleted inserted replaced
132:5e4d6faada34 133:2ec889a79e51
165 AC_MSG_RESULT([no]) 165 AC_MSG_RESULT([no])
166 ]) 166 ])
167 AC_LANG_POP([C++]) 167 AC_LANG_POP([C++])
168 168
169 169
170 AC_CHECK_FUNCS(regexec,,[AC_CHECK_LIB(regex,regexec,
171 [REGEXLIB=-lregex
172 AC_DEFINE(HAVE_REGEXEC,1,[Define to 1 if you have the regexec function.])],
173 [AC_MSG_ERROR([No regex library found])])])
174 AC_SUBST(REGEXLIB)
175
176
170 # The following lines adds the --enable-pst-debug option to configure: 177 # The following lines adds the --enable-pst-debug option to configure:
171 # 178 #
172 # Give the user the choice to enter one of these: 179 # Give the user the choice to enter one of these:
173 # --enable-pst-debug 180 # --enable-pst-debug
174 # --enable-pst-debug=yes 181 # --enable-pst-debug=yes