configure: Fix autoreconf with older autotools
authorTobias Brunner <tobias@strongswan.org>
Mon, 3 Mar 2014 16:14:26 +0000 (17:14 +0100)
committerTobias Brunner <tobias@strongswan.org>
Mon, 3 Mar 2014 16:14:26 +0000 (17:14 +0100)
Older autoconf versions (e.g. on CentOS 6.5) produce an empty else block
for the removed empty argument, which the shell then trips over when
executing ./configure.

Fixes #536.

configure.ac

index 8a925c2..ec189c9 100644 (file)
@@ -528,8 +528,7 @@ AC_CHECK_FUNC(
                         AC_MSG_FAILURE([qsort_r has unknown semantics])])
                ])
                CFLAGS="$save_CFLAGS"
-       ],
-       []
+       ]
 )
 
 AC_CHECK_FUNCS(prctl mallinfo getpass closefrom getpwnam_r getgrnam_r getpwuid_r)