X-Git-Url: http://git.tuebingen.mpg.de/?p=paraslash.git;a=blobdiff_plain;f=configure.ac;h=e3d1b40eabce19c8fc4168a59451af8a4dfc3866;hp=47dc6ace9817b4da10d296b8995935100e93e447;hb=aa74a903545250506fd4c29791e6f4aef3a01c41;hpb=06b3e7bc1b04def7488a5c5cd65de00aca655612 diff --git a/configure.ac b/configure.ac index 47dc6ace..e3d1b40e 100644 --- a/configure.ac +++ b/configure.ac @@ -138,7 +138,7 @@ audiod_audio_formats="wma" afh_cmdline_objs="add_cmdline(afh)" afh_errlist_objs="afh string fd mp3_afh afh_common time wma_afh wma_common - version" + version ggo" afh_ldflags="" write_cmdline_objs="add_cmdline(write file_write)" @@ -465,7 +465,15 @@ AC_MSG_RESULT($have_ucred) if test ${have_ucred} = yes; then AC_DEFINE(HAVE_UCRED, 1, define to 1 you have struct ucred) fi - +########################################################################### gengetopt +echo 'option "z" z "" flag off' | $gengetopt --file-name conftest-ggo && +AC_CHECK_DECL( + [gengetopt_args_info_description], + [ggo_descriptions_declared=yes], + [ggo_descriptions_declared=no], + [#include "conftest-ggo.h"] +) +AC_SUBST(ggo_descriptions_declared) ########################################################################### curses have_curses="yes" OLD_CPPFLAGS="$CPPFLAGS"