From ef53714d87aa71309fe2f22862f1892a8e620336 Mon Sep 17 00:00:00 2001 From: Eric Anholt Date: Thu, 11 Aug 2005 18:09:45 +0000 Subject: Set CSRG_BASED for BSD systems so the build succeeds. --- configure.ac | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'configure.ac') diff --git a/configure.ac b/configure.ac index 351737a..5d51a91 100644 --- a/configure.ac +++ b/configure.ac @@ -34,12 +34,20 @@ AC_PATH_PROGS(RAWCPP, [cpp], [$(CPP)], [$PATH:/bin:/usr/bin:/usr/lib:/usr/libexec:/usr/ccs/lib:/usr/ccs/lbin:/lib]) AC_PROG_INSTALL AC_PATH_PROG(SED,sed) +AC_CANONICAL_HOST AC_TYPE_SIGNAL AC_FUNC_FORK # Checks for pkg-config packages PKG_CHECK_MODULES(XINIT, x11) + +case $host_os in + *bsd*) + XINIT_CFLAGS="$XINIT_CFLAGS -DCSRG_BASED" + ;; +esac + AC_SUBST(XINIT_CFLAGS) AC_SUBST(XINIT_LIBS) -- cgit v1.2.3