forked from Mirrors/freeswitch
automistake
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3709 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
parent
95e811f87a
commit
775d63211b
13
configure
vendored
13
configure
vendored
@ -20664,6 +20664,19 @@ case "$host" in
|
||||
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
|
||||
|
||||
|
||||
|
13
configure.in
13
configure.in
@ -91,6 +91,19 @@ case "$host" in
|
||||
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)
|
||||
|
Loading…
Reference in New Issue
Block a user