From 8a759ad3db77a47b635f335e66f9c167a0c221ad Mon Sep 17 00:00:00 2001 From: Frank Morgner Date: Thu, 16 May 2013 13:32:49 +0200 Subject: try to link symlink and use a define on error fixes compiling with Minimalist GNU win32 (cross) compiler 4.2.1, which defines symlink, but doesn't implement it. --- configure.ac | 1 + 1 file changed, 1 insertion(+) (limited to 'configure.ac') diff --git a/configure.ac b/configure.ac index 1704ad1b..022ce75a 100644 --- a/configure.ac +++ b/configure.ac @@ -63,6 +63,7 @@ AC_SEARCH_LIBS(getopt, iberty) AC_CHECK_FUNCS(strtoimax strtoll) AC_CHECK_FUNCS(mergesort) AC_CHECK_FUNCS(mkstemps) +AC_TRY_LINK_FUNC([symlink],[AC_DEFINE([HAVE_SYMLINK], 1, [Define to 1 if you have the symlink function.])]) AC_OUTPUT( \ skeletons/standard-modules/Makefile \ -- cgit v1.2.3