shithub: libsamplerate

Download patch

ref: 96fee0c594a56963b78cbd5be0b49d16e755762c
parent: cd1091a5b7df0315dee83a7d64b94da22f90ca62
author: Erik de Castro Lopo <[email protected]>
date: Sun Aug 14 06:48:10 EDT 2011

configure.ac : Add symbol support for kfreebsd-*-gnu-*.

--- a/configure.ac
+++ b/configure.ac
@@ -1,9 +1,10 @@
 # Copyright (C) 2002-2011 Erik de Castro Lopo (erikd AT mega-nerd DOT com).
 
-dnl Require autoconf version >= 2.57)
+dnl Require autoconf version
 AC_PREREQ(2.57)
 
-AC_INIT([libsamplerate],[0.1.8pre1],[[email protected]])
+AC_INIT([libsamplerate],[0.1.8pre1],[[email protected]],
+		[libsamplerate],[http://www.mega-nerd.com/libsamplerate/])
 
 # Put config stuff in Cfg.
 AC_CONFIG_AUX_DIR(Cfg)
@@ -12,18 +13,30 @@
 AC_CANONICAL_TARGET([])
 
 AC_CONFIG_MACRO_DIR([M4])
+AC_CONFIG_HEADERS([src/config.h])
 
 AM_INIT_AUTOMAKE($PACKAGE_NAME,$PACKAGE_VERSION)
 AM_SILENT_RULES([yes])
 
-AC_CONFIG_HEADER(src/config.h)
-
-
 dnl Add parameters for aclocal
 AC_SUBST(ACLOCAL_AMFLAGS, "-I M4")
 
 AC_LANG([C])
 
+AC_PROG_CC
+AM_PROG_CC_C_O
+AC_PROG_CXX
+AC_PROG_SED
+
+# Do not check for F77.
+define([AC_LIBTOOL_LANG_F77_CONFIG], [:])dnl
+
+AM_PROG_LIBTOOL
+LT_PROG_RC
+
+AC_PROG_INSTALL
+AC_PROG_LN_S
+
 #------------------------------------------------------------------------------------
 # Rules for library version information:
 #
@@ -42,15 +55,9 @@
 
 SHARED_VERSION_INFO="1:8:1"
 
-AC_PROG_CC
-AM_PROG_CC_C_O
 
-# Do not check for F77.
-define([AC_LIBTOOL_LANG_F77_CONFIG], [:])dnl
 
-AM_PROG_LIBTOOL
 
-AC_PROG_INSTALL
 
 AC_PROG_MAKE_SET
 AC_PROG_LN_S
@@ -214,7 +221,8 @@
 			temp_CFLAGS=`echo $CFLAGS | sed "s/-Wall//"`
 			CFLAGS=$temp_CFLAGS
 			;;
-		linux*)
+
+		linux*|kfreebsd*-gnu*|gnu*)
 			SHLIB_VERSION_ARG="-Wl,--version-script=Version_script"
 			;;
 		*)