[Freeswitch-trunk] [commit] r3709 - freeswitch/trunk
Freeswitch SVN
anthm at freeswitch.org
Mon Dec 18 19:47:39 EST 2006
Author: anthm
Date: Mon Dec 18 19:47:37 2006
New Revision: 3709
Modified:
freeswitch/trunk/configure
freeswitch/trunk/configure.in
Log:
automistake
Modified: freeswitch/trunk/configure
==============================================================================
--- freeswitch/trunk/configure (original)
+++ freeswitch/trunk/configure Mon Dec 18 19:47:37 2006
@@ -20664,6 +20664,19 @@
IN_LINE=inline
DYNAMIC_LIB_EXTEN="so"
;;
+ *)
+ if test "x${ax_cv_c_compiler_vendor}" = "xsun" ; then
+ SOLINK="-Bdynamic -dy -G"
+ new_AM_CFLAGS="-KPIC -DPIC"
+ new_AM_LDFLAGS="-L${prefix}/lib -R${prefix}/lib"
+ elif test "x${ax_cv_c_compiler_vendor}"="xgnu" ; then
+ SOLINK="-shared -Xlinker -x"
+ new_AM_CFLAGS="-fPIC"
+ new_AM_LDFLAGS=""
+ fi
+ DYNAMIC_LIB_EXTEN="so"
+ IN_LINE=inline
+ ;;
esac
Modified: freeswitch/trunk/configure.in
==============================================================================
--- freeswitch/trunk/configure.in (original)
+++ freeswitch/trunk/configure.in Mon Dec 18 19:47:37 2006
@@ -91,6 +91,19 @@
IN_LINE=inline
DYNAMIC_LIB_EXTEN="so"
;;
+ *)
+ if test "x${ax_cv_c_compiler_vendor}" = "xsun" ; then
+ SOLINK="-Bdynamic -dy -G"
+ new_AM_CFLAGS="-KPIC -DPIC"
+ new_AM_LDFLAGS="-L${prefix}/lib -R${prefix}/lib"
+ elif test "x${ax_cv_c_compiler_vendor}"="xgnu" ; then
+ SOLINK="-shared -Xlinker -x"
+ new_AM_CFLAGS="-fPIC"
+ new_AM_LDFLAGS=""
+ fi
+ DYNAMIC_LIB_EXTEN="so"
+ IN_LINE=inline
+ ;;
esac
AC_SUBST(new_AM_CFLAGS)
AC_SUBST(new_AM_LDFLAGS)
More information about the Freeswitch-trunk
mailing list