Gaetan Nadon wrote:
> Relocate the existing AC_CHECK_FUNCS statement.
> 
> The functions are checked after the libraries checks to benefit
> from the $LIBS updated values.
> 
> Signed-off-by: Gaetan Nadon <[email protected]>
> ---
>  configure.ac |   11 +++++++++--
>  1 files changed, 9 insertions(+), 2 deletions(-)
> 
> diff --git a/configure.ac b/configure.ac
> index 96ae8fe..b190a68 100644
> --- a/configure.ac
> +++ b/configure.ac
> @@ -86,6 +86,15 @@ AC_CHECK_HEADERS([grp.h syslog.h sys/param.h])
>  # Checks for typedefs, structures, and compiler characteristics.
>  AC_TYPE_SIGNAL
>  
> +#------------------------------------------------------------------------------
> +#                    Check for system library functions
> +#
> +# Required system libraries have been searched for and are listed in $LIBS
> +#------------------------------------------------------------------------------
> +AC_CHECK_FUNCS([daemon sigaction openlog asprintf])
> +
> +#------------------------------------------------------------------------------
> +
>  m4_ifdef([AM_SILENT_RULES],[HAVE_AM_SILENT_RULES=yes])
>  AM_CONDITIONAL(HAVE_AM_SILENT_RULES, test x$HAVE_AM_SILENT_RULES != x)
>  
> @@ -126,8 +135,6 @@ if test "x$HAS_SETUSERCONTEXT" = "xyes" ; then
>               [Define to 1 if you have the 'setusercontext' function.])
>  fi
>  
> -AC_CHECK_FUNCS([daemon sigaction openlog asprintf])
> -
>  XTRANS_CONNECTION_FLAGS
>  dnl Sets $SECURE_RPC to "yes" or "no"
>  XTRANS_SECURE_RPC_FLAGS

Reviewed-by: Alan Coopersmith <[email protected]>

-- 
        -Alan Coopersmith-        [email protected]
         Oracle Solaris Platform Engineering: X Window System

_______________________________________________
[email protected]: X.Org development
Archives: http://lists.x.org/archives/xorg-devel
Info: http://lists.x.org/mailman/listinfo/xorg-devel

Reply via email to