]> jfr.im git - irc/srvx.git/commitdiff
getopt: Fix compile harder origin/HEAD origin/master
authorMichael Poole <redacted>
Thu, 16 Nov 2023 02:10:19 +0000 (21:10 -0500)
committerMichael Poole <redacted>
Thu, 16 Nov 2023 02:10:19 +0000 (21:10 -0500)
The autoconf test I added was not quite right.

Fixes: 4c07c59e03dc84dabc11108dc3f95afb5fbb0031
configure.ac

index 739fab79215bedf925f9f1aa2a15ac2ceaa0d54a..e7ada7ec4b0cdf6cb7e3a6a218537a8f52a87b81 100644 (file)
@@ -281,10 +281,10 @@ else
 fi
 
 AC_ARG_WITH(getopt,
-[  --without-getopt        Disables building of the GNU getopt library],
-[if test "x$withval" = xno -o "x$ac_cv_func_getopt_long" = xyes ; then
+[  --without-getopt        Disables building of the GNU getopt library])
+if test "x$withval" = xno -o "x$ac_cv_func_getopt_long" = xyes ; then
   AC_DEFINE(IGNORE_GETOPT, 1, [Define to disable built-in getopt library])
-fi])
+fi
 
 AC_MSG_CHECKING(whether to enable tokenization)
 AC_ARG_ENABLE(tokens,