AC_MSG_CHECKING(whether -library=stlport4 works)
AC_TRY_COMPILE(
[
-# include <iostream>
],
[
- std::cout << std::endl;
- ],
- [
- AC_MSG_RESULT(no)
+ ;
],
[
AC_MSG_RESULT(yes)
CXXFLAGSG="$CXXFLAGSG -library=stlport4"
CXXFLAGSO="$CXXFLAGSO -library=stlport4"
+ ],
+ [
+ AC_MSG_RESULT(no)
])
;;
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h. */
-# include <iostream>
int
main ()
{
- std::cout << std::endl;
+ ;
;
return 0;
echo "$as_me:$LINENO: \$? = $ac_status" >&5
(exit $ac_status); }; }; then
- echo "$as_me:$LINENO: result: no" >&5
-echo "${ECHO_T}no" >&6
+ echo "$as_me:$LINENO: result: yes" >&5
+echo "${ECHO_T}yes" >&6
+ CXXFLAGSG="$CXXFLAGSG -library=stlport4"
+ CXXFLAGSO="$CXXFLAGSO -library=stlport4"
else
echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5
- echo "$as_me:$LINENO: result: yes" >&5
-echo "${ECHO_T}yes" >&6
- CXXFLAGSG="$CXXFLAGSG -library=stlport4"
- CXXFLAGSO="$CXXFLAGSO -library=stlport4"
+ echo "$as_me:$LINENO: result: no" >&5
+echo "${ECHO_T}no" >&6
fi
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext