ISO C disallows empty translation units
generated_sources = \
src/version.c
3pp_sources = \
- src/getopt_long.c \
+ @getopt_long_c@ \
src/hashtable.c \
src/hashtable_itr.c \
src/murmurhashneutral2.c \
esac
AC_SUBST(extra_libs)
+AC_SUBST(getopt_long_c)
AC_SUBST(include_dev_mk)
AC_SUBST(test_suites)
AC_SUBST(disable_man)
AC_CHECK_FUNCS(unsetenv)
AC_CHECK_FUNCS(utimes)
+if test x"$ac_cv_func_getopt_long" != x"yes"; then
+ getopt_long_c="src/getopt_long.c"
+fi
+
AC_CACHE_CHECK([for compar_fn_t in stdlib.h],ccache_cv_COMPAR_FN_T, [
AC_TRY_COMPILE(
[#include <stdlib.h>],