diff options
author | Christian Grothoff <christian@grothoff.org> | 2015-03-15 21:15:14 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2015-03-15 21:15:14 +0000 |
commit | 98a60eb782a11e3c86e0adc1282ffdd722a96c73 (patch) | |
tree | c724530677d0368973a26a9487ba152d6614549b /configure.ac | |
parent | 1ff75f944f66e60d81a1f4157f3f2cfb21fa4f89 (diff) | |
download | gnunet-98a60eb782a11e3c86e0adc1282ffdd722a96c73.tar.gz gnunet-98a60eb782a11e3c86e0adc1282ffdd722a96c73.zip |
check for existence of 'getopt' command line tool
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac index c0bf33421..30edf6285 100644 --- a/configure.ac +++ b/configure.ac | |||
@@ -1,5 +1,5 @@ | |||
1 | # This file is part of GNUnet. | 1 | # This file is part of GNUnet. |
2 | # (C) 2001--2014 Christian Grothoff (and other contributing authors) | 2 | # (C) 2001--2015 Christian Grothoff (and other contributing authors) |
3 | # | 3 | # |
4 | # GNUnet is free software; you can redistribute it and/or modify | 4 | # GNUnet is free software; you can redistribute it and/or modify |
5 | # it under the terms of the GNU General Public License as published | 5 | # it under the terms of the GNU General Public License as published |
@@ -202,6 +202,10 @@ AC_CHECK_LIB(socket, socket) | |||
202 | AC_CHECK_LIB(m, log) | 202 | AC_CHECK_LIB(m, log) |
203 | AC_CHECK_LIB(c, getloadavg, AC_DEFINE(HAVE_GETLOADAVG,1,[getloadavg supported])) | 203 | AC_CHECK_LIB(c, getloadavg, AC_DEFINE(HAVE_GETLOADAVG,1,[getloadavg supported])) |
204 | 204 | ||
205 | AC_CHECK_PROG(VAR_GETOPT_BINARY, getopt, true, false) | ||
206 | AM_CONDITIONAL(HAVE_GETOPT_BINARY, $VAR_GETOPT_BINARY) | ||
207 | |||
208 | |||
205 | 209 | ||
206 | AC_CHECK_MEMBER(struct tm.tm_gmtoff, | 210 | AC_CHECK_MEMBER(struct tm.tm_gmtoff, |
207 | [AC_DEFINE(HAVE_TM_GMTOFF, 1, | 211 | [AC_DEFINE(HAVE_TM_GMTOFF, 1, |