blob: e680e91ba33a919313d73e7ef1d039cc0e8080a7 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
|
--- a/lib/util/wscript_configure
+++ b/lib/util/wscript_configure
@@ -12,17 +12,17 @@ conf.CHECK_FUNCS_IN('backtrace backtrace
conf.CHECK_HEADERS('execinfo.h')
conf.SET_TARGET_TYPE('LIBUNWIND', 'EMPTY')
-if Options.options.with_libunwind:
- if conf.check_cfg(package='libunwind-generic',
- args='--cflags --libs',
- msg='Checking for libunwind',
- uselib_store='LIBUNWIND',
- mandatory=False):
- if conf.CHECK_HEADERS('libunwind.h'):
- conf.SET_TARGET_TYPE('LIBUNWIND', 'SYSLIB')
- else:
- raise Errors.WafError('--with-libunwind specified but libunwind not found')
-elif Options.options.with_libunwind == None:
+#if Options.options.with_libunwind:
+ #if conf.check_cfg(package='libunwind-generic',
+ #args='--cflags --libs',
+ #msg='Checking for libunwind',
+ #uselib_store='LIBUNWIND',
+ #mandatory=False):
+ #if conf.CHECK_HEADERS('libunwind.h'):
+ #conf.SET_TARGET_TYPE('LIBUNWIND', 'SYSLIB')
+ #else:
+ #raise Errors.WafError('--with-libunwind specified but libunwind not found')
+if Options.options.with_libunwind == None:
if not conf.CONFIG_SET('HAVE_BACKTRACE_SYMBOLS') \
and not Options.options.disable_fault_handling:
raise Errors.WafError(
|