File tree Expand file tree Collapse file tree 1 file changed +0
-18
lines changed
Expand file tree Collapse file tree 1 file changed +0
-18
lines changed Original file line number Diff line number Diff line change @@ -80,24 +80,6 @@ case ${host_os} in
8080esac
8181AM_CONDITIONAL(WIN32, test x$win32 = xtrue)
8282
83- # Check if the C compiler supports __attribute__((constructor))
84- AC_CACHE_CHECK ( [ wether the C compiler supports constructor/destructor attributes] ,
85- ac_cv_attribute_constructor , [
86- ac_cv_attribute_constructor=no
87- AC_COMPILE_IFELSE ( [ AC_LANG_PROGRAM (
88- [ [
89- static void __attribute__((constructor)) test_constructor(void) {
90- }
91- static void __attribute__((destructor)) test_destructor(void) {
92- }
93- ] ] , [ ] ) ] ,
94- [ ac_cv_attribute_constructor=yes]
95- ) ]
96- )
97- if test "$ac_cv_attribute_constructor" = "yes"; then
98- AC_DEFINE ( HAVE_ATTRIBUTE_CONSTRUCTOR , 1 , [ Define if the C compiler supports constructor/destructor attributes] )
99- fi
100-
10183AS_COMPILER_FLAGS(GLOBAL_CFLAGS, "-Wall -Wextra -Wmissing-declarations -Wredundant-decls -Wshadow -Wpointer-arith -Wwrite-strings -Wswitch-default -Wno-unused-parameter -fsigned-char -fvisibility=hidden")
10284
10385if test "x$enable_static" = "xyes" -a "x$enable_shared" = "xno"; then
You can’t perform that action at this time.
0 commit comments