Skip to content
Snippets Groups Projects
Commit 8729bb8e authored by Claus-Justus Heine's avatar Claus-Justus Heine
Browse files

Provide getopt_long() in gnu-compat/ in case it should be missing.

parent d7005aec
No related branches found
No related tags found
No related merge requests found
...@@ -6,6 +6,7 @@ AC_INIT([albert], [1.2], [dani@mathematik.uni-freiburg.de]) ...@@ -6,6 +6,7 @@ AC_INIT([albert], [1.2], [dani@mathematik.uni-freiburg.de])
AC_CONFIG_SRCDIR([ALBERT/src/Common/albert.h]) AC_CONFIG_SRCDIR([ALBERT/src/Common/albert.h])
AC_CONFIG_FILES([Makefile BLAS/Makefile ALBERT_UTIL/Makefile AC_CONFIG_FILES([Makefile BLAS/Makefile ALBERT_UTIL/Makefile
gnu-compat/Makefile
GRAPE/Makefile GRAPE/mesh/Makefile GRAPE/Makefile GRAPE/mesh/Makefile
GRAPE/mesh/2d/Makefile GRAPE/mesh/2d/Makefile
GRAPE/mesh/3d/Makefile GRAPE/mesh/3d/Makefile
...@@ -69,6 +70,12 @@ AC_CHECK_FUNCS([alarm pow sqrt strdup strchr strstr],, ...@@ -69,6 +70,12 @@ AC_CHECK_FUNCS([alarm pow sqrt strdup strchr strstr],,
AC_FUNC_MALLOC AC_FUNC_MALLOC
AC_FUNC_VPRINTF AC_FUNC_VPRINTF
AC_CHECK_FUNCS([getopt_long],[],
[AC_LIBOBJ([getopt])
AC_LIBOBJ([getopt1])
GNUCOMPAT_INCLUDE_PATH='$(top_srcdir)/gnu-compat/'])
AC_SUBST([GNUCOMPAT_INCLUDE_PATH])
# look for X11 library paths AND sets all necessary flags (X_CFLAGS) e.g. # look for X11 library paths AND sets all necessary flags (X_CFLAGS) e.g.
AC_PATH_XTRA AC_PATH_XTRA
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment