bug-autoconf
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[sr #111016] Configure script fails to detect sctp on Alpine linux


From: anonymous
Subject: [sr #111016] Configure script fails to detect sctp on Alpine linux
Date: Mon, 5 Feb 2024 05:53:36 -0500 (EST)

URL:
  <https://savannah.gnu.org/support/?111016>

                 Summary: Configure script fails to detect sctp on Alpine
linux
                   Group: Autoconf
               Submitter: None
               Submitted: Mon 05 Feb 2024 10:53:36 AM UTC
                Priority: 5 - Unprioritized
                Severity: 3 - Normal
                  Status: None
                 Privacy: Public
             Assigned to: None
        Originator Email: bengt.kleberg@travelping.com
             Open/Closed: Open
         Discussion Lock: Any
        Operating System: GNU/Linux


    _______________________________________________________

Follow-up Comments:


-------------------------------------------------------
Date: Mon 05 Feb 2024 10:53:36 AM UTC By: Anonymous
Greetings,

The configure.ac file below, produces a configure script that fail to detect
sctp on Alpine linux (Linux localhost 6.1.75-0-virt).
The same configure script will correctly detect sctp on Arch linux (Linux
alarm 6.2.10-1-aarch64-ARCH).
I used autoconf from their package manager (2.71 and 2.72 respectively), but
the two resulting configure scripts, despite differences, produces the same
results on both machines. Always fail on Alpine, always correct on Arch
linux.

Best Wishes,
bengt

configure.ac:
AC_INIT
    AC_CHECK_HEADER(netinet/sctp.h,
        [LIBSCTP=libsctp.so.1
         AC_DEFINE(HAVE_SCTP_H, [1],
            [Define to 1 if you have the <netinet/sctp.h> header file])],
        [],
        [#if HAVE_SYS_SOCKET_H
         #include <sys/socket.h>
         #endif
        ])
AC_OUTPUT








    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/support/?111016>

_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]