summaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authoratmos4 <atmos4@b3059339-0415-0410-9bf9-f77b7e298cf2>2002-03-27 03:45:55 +0000
committeratmos4 <atmos4@b3059339-0415-0410-9bf9-f77b7e298cf2>2002-03-27 03:45:55 +0000
commitec3460e062426cde812209b9858423db09eba965 (patch)
treecf9557baff795df64745b09e793353a0fcd09d78 /configure
parent1f8a7b13363b5801596211914b88ca296adc83db (diff)
downloadmpv-ec3460e062426cde812209b9858423db09eba965.tar.bz2
mpv-ec3460e062426cde812209b9858423db09eba965.tar.xz
Allow to disable crasj sighandler to enable creation of coredump files.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@5368 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure15
1 files changed, 15 insertions, 0 deletions
diff --git a/configure b/configure
index 131c18ef48..4acba25aed 100755
--- a/configure
+++ b/configure
@@ -194,6 +194,7 @@ Advanced options:
--disable-fastmemcpy disable 3dnow/sse/mmx optimized memcpy() [enable]
--enable-debug[=1-3] compile debugging information into mplayer [disable]
--enable-profile compile profiling information into mplayer [disable]
+ --disable-sighandler disable sighandler for crashes [enable]
Hazardous options a.k.a. "DO NOT BUGREPORT ANYTHING !"
--disable-gcc-checking disable gcc version checking [enable]
@@ -824,6 +825,7 @@ _language=en
_shm=auto
_linux_devfs=no
_i18n=no
+_sighandler=yes
for ac_option do
case "$ac_option" in
@@ -998,6 +1000,9 @@ for ac_option do
--enable-debug=*)
_debug=`echo $_echo_n '-g'$_echo_c; echo $ac_option | cut -d '=' -f 2`
;;
+ --disable-sighandler)
+ _sighandler=no
+ ;;
--enable-sse) _sse=yes ;;
--disable-sse) _sse=no ;;
@@ -1221,6 +1226,13 @@ fi
_mp_help="help_mp-${LINGUAS}.h"
test -f help_mp-${LINGUAS}.h || die "help_mp-${LINGUAS}.h not found"
+echocheck "enable sighandler"
+if test "$_sighandler" = yes ; then
+ _def_sighandler='#define ENABLE_SIGHANDLER 1'
+else
+ _def_sighandler='#undef ENABLE_SIGHANDLER'
+fi
+echores "$_sighandler"
echocheck "runtime cpudetection"
if test "$_runtime_cpudetection" = yes ; then
@@ -3344,6 +3356,9 @@ $_def_runtime_cpudetection
#define USE_OSD 1
#define USE_SUB 1
+/* enable/disable SIGHANDLER */
+$_def_sighandler
+
/* Toggles debugging informations */
$_def_debug