From: Matthew Newton Date: Thu, 29 Sep 2022 08:44:44 +0000 (+0100) Subject: split acinclude.m4 into separate files in m4/ X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=43577d9acfdd92a23c23a27d24b62d07157a1afb;p=thirdparty%2Ffreeradius-server.git split acinclude.m4 into separate files in m4/ --- diff --git a/m4/ac_prog_cc_sunpro.m4 b/m4/ac_prog_cc_sunpro.m4 new file mode 100644 index 00000000000..0d1f4e79786 --- /dev/null +++ b/m4/ac_prog_cc_sunpro.m4 @@ -0,0 +1,18 @@ +dnl Checks to see if this is SUNPro we're building with +dnl Usage: +dnl +dnl AC_PROG_CC_SUNPRO +dnl +AC_DEFUN([AC_PROG_CC_SUNPRO], +[AC_CACHE_CHECK(whether we are using SUNPro C, ac_cv_prog_suncc, +[dnl The semicolon is to pacify NeXT's syntax-checking cpp. +cat > conftest.c </dev/null 2>&1; then +ac_cv_prog_suncc=yes +else +ac_cv_prog_suncc=no +fi])]) diff --git a/acinclude.m4 b/m4/vl_lib_readline.m4 similarity index 76% rename from acinclude.m4 rename to m4/vl_lib_readline.m4 index cbc030269c3..25a01723a96 100644 --- a/acinclude.m4 +++ b/m4/vl_lib_readline.m4 @@ -1,20 +1,3 @@ -dnl Checks to see if this is SUNPro we're building with -dnl Usage: -dnl AC_PROG_CC_SUNPRO -AC_DEFUN([AC_PROG_CC_SUNPRO], -[AC_CACHE_CHECK(whether we are using SUNPro C, ac_cv_prog_suncc, -[dnl The semicolon is to pacify NeXT's syntax-checking cpp. -cat > conftest.c </dev/null 2>&1; then -ac_cv_prog_suncc=yes -else -ac_cv_prog_suncc=no -fi])]) - AC_DEFUN([VL_LIB_READLINE], [ AC_CACHE_CHECK([for a readline compatible library], vl_cv_lib_readline, [ @@ -63,5 +46,3 @@ LIBREADLINE_PREFIX=$(brew --prefix readline 2>/dev/null) AC_SUBST(LIBREADLINE) AC_SUBST(LIBREADLINE_PREFIX) ])dnl - -AC_INCLUDE(aclocal.m4)