Radix cross Linux

The main Radix cross Linux repository contains the build scripts of packages, which have the most complete and common functionality for desktop machines

452 Commits   2 Branches   1 Tag
     5         kx dnl -------------------------------------------------------- -*- autoconf -*-
     5         kx dnl Licensed to the Apache Software Foundation (ASF) under one or more
     5         kx dnl contributor license agreements.  See the NOTICE file distributed with
     5         kx dnl this work for additional information regarding copyright ownership.
     5         kx dnl The ASF licenses this file to You under the Apache License, Version 2.0
     5         kx dnl (the "License"); you may not use this file except in compliance with
     5         kx dnl the License.  You may obtain a copy of the License at
     5         kx dnl
     5         kx dnl     http://www.apache.org/licenses/LICENSE-2.0
     5         kx dnl
     5         kx dnl Unless required by applicable law or agreed to in writing, software
     5         kx dnl distributed under the License is distributed on an "AS IS" BASIS,
     5         kx dnl WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
     5         kx dnl See the License for the specific language governing permissions and
     5         kx dnl limitations under the License.
     5         kx 
     5         kx dnl
     5         kx dnl APU_CONFIG module
     5         kx dnl
     5         kx 
     5         kx dnl
     5         kx dnl SERF_CHECK_APU_CONFIG: compile backends for apr-util.
     5         kx dnl
     5         kx AC_DEFUN([SERF_CHECK_APU_CONFIG], [
     5         kx   serf_have_apu_config=0
     5         kx 
     5         kx   old_libs="$LIBS"
     5         kx   old_cppflags="$CPPFLAGS"
     5         kx   old_ldflags="$LDFLAGS"
     5         kx 
     5         kx   AC_PATH_PROG([APU_CONFIG],[apu-1-config])
     5         kx   if test "x$APU_CONFIG" != 'x'; then
     5         kx     if test "`$APU_CONFIG --includedir`" != "/usr/include"; then
     5         kx       apu_CPPFLAGS="-I`$APU_CONFIG --includedir`"
     5         kx     fi
     5         kx     apu_LDFLAGS="`$APU_CONFIG --ldflags | sed -e 's/-l[[^ ]]\+//g' | tr -s ' '`"
     5         kx     apu_LIBS="`$APU_CONFIG --link-ld --libs | sed -e 's/-L[[^ ]]\+//g' | tr -s ' '`"
     5         kx   fi
     5         kx 
     5         kx   AC_CHECK_HEADERS([apr-1/apr.h apr-1/apu.h], [serf_have_apu=1], [serf_have_apu=0; break])
     5         kx   if test "$serf_have_apu" = "1" && test "x$APU_CONFIG" != 'x'; then
     5         kx     AC_SUBST(APR_CFLAGS, [$apu_CPPFLAGS])
     5         kx     AC_SUBST(APR_LDFLAGS, [$apu_LDFLAGS])
     5         kx     AC_SUBST(APR_LIBS, [$apu_LIBS])
     5         kx   fi
     5         kx 
     5         kx   AC_SUBST(serf_have_apu)
     5         kx   AC_DEFINE_UNQUOTED([SERF_HAVE_APR_UTIL], [$serf_have_apu], [Define if the apr and apr-util are installed])
     5         kx 
     5         kx   LIBS="$old_libs"
     5         kx   CPPFLAGS="$old_cppflags"
     5         kx   LDFLAGS="$old_ldflags"
     5         kx ])
     5         kx dnl