… | |
… | |
187 | AC_SUBST(INT_32_BIT) |
187 | AC_SUBST(INT_32_BIT) |
188 | |
188 | |
189 | dnl Checks for library functions. |
189 | dnl Checks for library functions. |
190 | AC_FUNC_VPRINTF |
190 | AC_FUNC_VPRINTF |
191 | AC_REPLACE_FUNCS(strdup) |
191 | AC_REPLACE_FUNCS(strdup) |
192 | AC_CHECK_FUNCS(getopt_long,,AC_LIBOBJ([getopt]);AC_LIBOBJ([getopt1])) |
192 | AC_CHECK_FUNC(getopt_long,getopt=yes,getopt=no) |
|
|
193 | if test $getopt = no; then |
|
|
194 | AC_LIBOBJ([getopt]) |
|
|
195 | AC_LIBOBJ([getopt1]) |
|
|
196 | fi |
193 | |
197 | |
194 | AC_ARG_ENABLE(dmalloc, |
198 | AC_ARG_ENABLE(dmalloc, |
195 | [ --enable-dmalloc Enable dmalloc for developers (default:off)], |
199 | [ --enable-dmalloc Enable dmalloc for developers (default:off)], |
196 | [case "${enableval}" in |
200 | [case "${enableval}" in |
197 | yes) dmalloc=yes ;; |
201 | yes) dmalloc=yes ;; |