]> granicus.if.org Git - check/commitdiff
Fix enable_fork check
authorbrarcher <brarcher@64e312b2-a51f-0410-8e61-82d0ca0eb02a>
Mon, 14 Oct 2013 23:03:19 +0000 (23:03 +0000)
committerbrarcher <brarcher@64e312b2-a51f-0410-8e61-82d0ca0eb02a>
Mon, 14 Oct 2013 23:03:19 +0000 (23:03 +0000)
git-svn-id: svn+ssh://svn.code.sf.net/p/check/code/trunk@838 64e312b2-a51f-0410-8e61-82d0ca0eb02a

configure.ac

index e28ee01c29a30d1efc224aa039ab156aef0a7eee..828a8f6e52ca608b7d2b0ddc7fc0b2b4fb6e54b9 100644 (file)
@@ -221,7 +221,7 @@ AC_CHECK_DECLS([alarm, clock_gettime, timer_create, timer_settime, timer_delete,
 AC_CHECK_FUNCS([setitimer])
 
 # Checks for functions not available in Windows
-if $enable_fork; then
+if test "xtrue" = x"$enable_fork"; then
        AC_CHECK_FUNCS([fork], HAVE_FORK=1, HAVE_FORK=0)
 else
        HAVE_FORK=0