diff options
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 8 |
1 files changed, 8 insertions, 0 deletions
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) |