aboutsummaryrefslogtreecommitdiff
path: root/auto.def
diff options
context:
space:
mode:
Diffstat (limited to 'auto.def')
-rw-r--r--auto.def7
1 files changed, 6 insertions, 1 deletions
diff --git a/auto.def b/auto.def
index 4b454be..d1b26f9 100644
--- a/auto.def
+++ b/auto.def
@@ -354,7 +354,7 @@ dict set extdb info {
sdl { pkg-config SDL_gfx check {[cc-check-function-in-lib SDL_SetVideoMode SDL] && [cc-check-function-in-lib rectangleRGBA SDL_gfx]}
libdep {lib_SDL_SetVideoMode lib_rectangleRGBA}
}
- signal { check {[have-feature sigaction] && [have-feature vfork]} }
+ signal { check {[have-feature sigaction]} }
sqlite3 { pkg-config sqlite3 check {[cc-check-function-in-lib sqlite3_prepare_v2 sqlite3]} libdep lib_sqlite3_prepare_v2 }
zlib { pkg-config zlib check {[cc-check-function-in-lib deflate z]} libdep lib_deflate }
syslog { check {[have-feature syslog]} }
@@ -434,6 +434,11 @@ if {$jimregexp || [opt-bool jim-regexp]} {
}
}
+# poor-man's signals
+if {"signal" ni $extinfo(static-c)} {
+ lappend extra_objs jim-nosignal.o
+}
+
if {[ext-get-status load] eq "n"} {
# If we don't have load, no need to support shared objects
define SH_LINKFLAGS ""