Commit 147630c7 authored by Herbert Valerio Riedel's avatar Herbert Valerio Riedel 🕺
Browse files

Tweak use of AC_USE_SYSTEM_EXTENSIONS

This is a follow-up tweak to
5740003e

It's better to move AC_USE_SYSTEM_EXTENSIONS
after `AC_PROG_CC` as this avoids triggering
edundant tests
parent 5740003e
AC_INIT([Haskell unix package], [2.0], [libraries@haskell.org], [unix])
AC_PREREQ([2.60])
AC_INIT([Haskell unix package], [2.0], [libraries@haskell.org], [unix])
# Safety check: Ensure that we are in the correct source directory.
AC_CONFIG_SRCDIR([include/HsUnix.h])
AC_USE_SYSTEM_EXTENSIONS
AC_ARG_WITH([cc],
[C compiler],
[CC=$withval])
AC_PROG_CC()
dnl make extensions visible to allow feature-tests to detect them lateron
AC_USE_SYSTEM_EXTENSIONS
AC_CONFIG_HEADERS([include/HsUnixConfig.h])
# Is this a Unix system?
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment