commit | 35d073027e7633feb503a71d9035077b308a9faa | [log] [tgz] |
---|---|---|
author | Petr Machata <pmachata@redhat.com> | Sun Dec 09 11:38:56 2012 +0100 |
committer | Petr Machata <pmachata@redhat.com> | Mon Dec 10 11:52:21 2012 +0100 |
tree | 41f6285f2ac96d7df80a01ea5791d94ea08d81cc | |
parent | 2ae374a196ca76406cd14503622060c2c5dc4cef [diff] [blame] |
Don't rely on availability of getopt_long
diff --git a/configure.ac b/configure.ac index 8f7f5fd..bbc57c5 100644 --- a/configure.ac +++ b/configure.ac
@@ -267,6 +267,11 @@ [AC_MSG_ERROR([Either open_memstream or tmpfile required.])])]) # +# Define HAVE_GETOPT_LONG if that is available. +# +AC_CHECK_HEADER([getopt.h], [AC_CHECK_FUNCS([getopt_long])]) + +# # Debugging # AC_MSG_CHECKING([whether to enable debugging])