diff options
author | goodale <goodale@17b73243-c579-4c4c-a9d2-2d5706c11dac> | 2000-05-15 10:15:48 +0000 |
---|---|---|
committer | goodale <goodale@17b73243-c579-4c4c-a9d2-2d5706c11dac> | 2000-05-15 10:15:48 +0000 |
commit | 70aa3c435bb306f3bbd5dcfadbd7b1d1fcddc288 (patch) | |
tree | 43016fc586ff69057998d7e4e6923fb8194fe6ae /lib/make/configure.in | |
parent | 8fb8d4b17c47728fd7d2a132b43fa085dca277f3 (diff) |
Added check for getopt_long_only. This should hopefully fix
PR 354.
Tom
git-svn-id: http://svn.cactuscode.org/flesh/trunk@1665 17b73243-c579-4c4c-a9d2-2d5706c11dac
Diffstat (limited to 'lib/make/configure.in')
-rw-r--r-- | lib/make/configure.in | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/make/configure.in b/lib/make/configure.in index f212d3dc..6bf957e5 100644 --- a/lib/make/configure.in +++ b/lib/make/configure.in @@ -388,9 +388,11 @@ dnl Misc stuff dnl Do we need to build the GNU getopt and regex stuff ? +AC_CHECK_FUNCS(getopt_long_only) + AC_SUBST(BUILD_GETOPT) -if test "x$cctk_cv_header_getopt_h" = "xyes" ; then +if test "x$cctk_cv_header_getopt_h" = "xyes" -a "x$ac_cv_func_getopt_long_only" = "xyes"; then BUILD_GETOPT=no else BUILD_GETOPT=yes |