[Freeswitch-svn] [commit] r4691 - freeswitch/trunk
Freeswitch SVN
brian at freeswitch.org
Tue Mar 20 16:44:10 EDT 2007
Author: brian
Date: Tue Mar 20 16:44:09 2007
New Revision: 4691
Modified:
freeswitch/trunk/configure.in
Log:
use AC_CANONICAL_HOST to make sure is set.
Modified: freeswitch/trunk/configure.in
==============================================================================
--- freeswitch/trunk/configure.in (original)
+++ freeswitch/trunk/configure.in Tue Mar 20 16:44:09 2007
@@ -14,6 +14,8 @@
prefix='/usr/local/freeswitch'
fi
+AC_CANONICAL_HOST
+
# Absolute source/build directory
switch_srcdir=`(cd $srcdir && pwd)`
switch_builddir=`pwd`
@@ -58,7 +60,7 @@
# set defaults for use on all platforms
SWITCH_AM_CFLAGS="-I${switch_srcdir}/src/include -I${prefix}/include"
SWITCH_AM_CXXFLAGS="-I${switch_srcdir}/src/include -I${prefix}/include"
-SWITCH_AM_LDFLAGS="-L${prefix}/lib -lm -L/usr/local/lib"
+SWITCH_AM_LDFLAGS="-lm -L/usr/local/lib"
#set SOLINK variable based on compiler and host
if test "x${ax_cv_c_compiler_vendor}" = "xsun" ; then
@@ -66,6 +68,7 @@
elif test "x${ax_cv_c_compiler_vendor}" = "xgnu" ; then
case "$host" in
*darwin*)
+ echo in darwin
SOLINK="-dynamic -bundle -force-flat-namespace"
;;
*)
More information about the Freeswitch-svn
mailing list