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

2024-02-05 Thread anonymous
Follow-up Comment #3, sr#111016 (group autoconf):

Yes, this is not an autoconf problem. If I could close/delete 111016 I would.


___

Reply to this item at:

  

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




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

2024-02-05 Thread Mike Frysinger
Update of sr#111016 (group autoconf):

  Status:None => Not Autoconf   

___

Follow-up Comment #2:

sounds like not a bug in autoconf


___

Reply to this item at:

  

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




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

2024-02-05 Thread anonymous
Follow-up Comment #1, sr#111016 (group autoconf):

I found config.log file, with explanation why Alpine linux fail.
The include linux/types.h is not present.



___

Reply to this item at:

  

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




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

2024-02-05 Thread anonymous
URL:
  

 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.kleb...@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  header file])],
[],
[#if HAVE_SYS_SOCKET_H
 #include 
 #endif
])
AC_OUTPUT








___

Reply to this item at:

  

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