X-Git-Url: https://git.librecmc.org/?a=blobdiff_plain;f=configure.ac;h=30edf62856bca983da4d0ecf6a3833e3974f6999;hb=e98bb339cbe55a6addc5dfb6a6a1cdbd0c27bb00;hp=c0bf33421b7f3bc4fa7484f9c8eb4f16a9c9af63;hpb=86882d3e761fe639e833446ccfef8d31e0e42998;p=oweals%2Fgnunet.git diff --git a/configure.ac b/configure.ac index c0bf33421..30edf6285 100644 --- a/configure.ac +++ b/configure.ac @@ -1,5 +1,5 @@ # This file is part of GNUnet. -# (C) 2001--2014 Christian Grothoff (and other contributing authors) +# (C) 2001--2015 Christian Grothoff (and other contributing authors) # # GNUnet is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published @@ -202,6 +202,10 @@ AC_CHECK_LIB(socket, socket) AC_CHECK_LIB(m, log) AC_CHECK_LIB(c, getloadavg, AC_DEFINE(HAVE_GETLOADAVG,1,[getloadavg supported])) +AC_CHECK_PROG(VAR_GETOPT_BINARY, getopt, true, false) +AM_CONDITIONAL(HAVE_GETOPT_BINARY, $VAR_GETOPT_BINARY) + + AC_CHECK_MEMBER(struct tm.tm_gmtoff, [AC_DEFINE(HAVE_TM_GMTOFF, 1,