/* Define to 1 if you have the `setresuid' function. */
#undef HAVE_SETRESUID
-/* Define to 1 if you have the `sigwait' function. */
-#undef HAVE_SIGWAIT
-
/* define if struct stat has st_mtim.tv_nsec field */
#undef HAVE_STAT_NSEC
SED
LIBTOOL
SET_MAKE
+LFS_LIBS
+LFS_LDFLAGS
+LFS_CFLAGS
EGREP
GREP
CPP
fi
+LFS_CFLAGS=`getconf LFS_CFLAGS 2>/dev/null`
+LFS_LDFLAGS=`getconf LFS_LDFLAGS 2>/dev/null`
+LFS_LIBS=`getconf LFS_LIBS 2>/dev/null`
+
+
+
+
+
# Enable RFC 3542 APIs on macOS
$as_echo "#define __APPLE_USE_RFC_3542 1" >>confdefs.h
AC_SYS_LARGEFILE
AC_FUNC_FSEEKO
+LFS_CFLAGS=`getconf LFS_CFLAGS 2>/dev/null`
+LFS_LDFLAGS=`getconf LFS_LDFLAGS 2>/dev/null`
+LFS_LIBS=`getconf LFS_LIBS 2>/dev/null`
+
+AC_SUBST([LFS_CFLAGS])
+AC_SUBST([LFS_LDFLAGS])
+AC_SUBST([LFS_LIBS])
+
# Enable RFC 3542 APIs on macOS
AC_DEFINE([__APPLE_USE_RFC_3542], [1], [Select RFC3542 IPv6 API on macOS])
code.h: gen
./gen -s ${srcdir} > code.h || { rm -f $@ ; exit 1; }
-gen: LFS_CFLAGS = `getconf LFS_CFLAGS 2>/dev/null`
-gen: LFS_LDFLAGS = `getconf LFS_LDFLAGS 2>/dev/null`
-gen: LFS_LIBS = `getconf LFS_LIBS 2>/dev/null`
gen: gen.c
${BUILD_CC} ${BUILD_CFLAGS} -I${top_srcdir}/lib/isc/include \
${LFS_CFLAGS} ${LFS_LDFLAGS} \
BUILD_LDFLAGS = @BUILD_LDFLAGS@
BUILD_LIBS = @BUILD_LIBS@
+LFS_CFLAGS = @LFS_CFLAGS@
+LFS_LDFLAGS = @LFS_LDFLAGS@
+LFS_LIBS = @LFS_LIBS@
+
.SUFFIXES:
.SUFFIXES: .c .@O@