Changeset 572 for trunk


Ignore:
Timestamp:
Mar 7, 2022, 6:53:25 PM (3 years ago)
Author:
katerina
Message:

Fix for ticket #460 (gcc11 vs dnmalloc).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/configure.ac

    r570 r572  
    1212dnl start
    1313dnl
    14 AM_INIT_AUTOMAKE(samhain, 4.4.6)
     14AM_INIT_AUTOMAKE(samhain, 4.4.7)
    1515AC_DEFINE([SAMHAIN], 1, [Application is samhain])
    1616AC_CANONICAL_HOST
     
    3939fi
    4040
     41if test "x${gcc_VERSION_MAJOR}" != "x"
     42then
     43        AC_MSG_CHECKING([for gcc compiler issues])
     44        if test ${gcc_VERSION_MAJOR} -ge 11
     45        then
     46                dnmalloc_ok=no
     47                AC_MSG_RESULT([dnmalloc does not work with gcc 11])
     48        else
     49                dnmalloc_ok=yes
     50                AC_MSG_RESULT([ok])
     51        fi     
     52else
     53        dnmalloc_ok=yes
     54fi
     55
     56
    4157AC_HEADER_STDC
    4258
     
    5167mynetbsd=no
    5268sh_use_lcaps="undef"
    53 dnmalloc_ok=yes
    5469sh_use_pie=yes
    5570enable_asm_ok=yes
     
    386401        strptime basename sched_yield hasmntopt \
    387402        inet_aton gethostbyname setutent setrlimit gethostname uname \
    388         initgroups getpagesize \
     403        initgroups getpagesize getutxent \
    389404        ttyname fchmod writev mmap tzset \
    390405        getsid getpriority getpgid statvfs \
Note: See TracChangeset for help on using the changeset viewer.