📄 iii_check_stlport.m4
字号:
dnldnl Copyright (c) 2001 Institute for Information Industry, Taiwan, Republic of China dnl Written by angelo@iii.org.twdnl dnl This file is part of III ASN.1 Tool.dnl dnl The contents of this file are subject to the Mozilla Public Licensednl Version 1.0 (the "License"); you may not use this file except indnl compliance with the License. You may obtain a copy of the License atdnl http://www.mozilla.org/MPL/dnldnl Software distributed under the License is distributed on an "AS IS"dnl basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. Seednl the License for the specific language governing rights and limitationsdnl under the License.dnl dnl III ASN.1 Tool is the ASN.1 to C++ compiler which transforms ASN.1 Modulednl to C++ codes along with the C++ run time library for encoding and decoding dnl ASN.1 types. For details, see the III ASN.1 Tool World-Wide-Web page, dnl `http://www.iii.org.tw/portal/lab1/asn1tool.html'.dnldnl @synopsis III_CHECK_STLPORTdnl dnl Check the existance of STLportdnldnl @author Huang-Ming HuangAC_DEFUN(III_CHECK_STLPORT, [ AC_BEFORE([$0],AC_CXX_HAVE_STL) if test "$ac_cv_cxx_have_stl" = yes; then AC_CACHE_CHECK(whether the STLport exists, iii_cv_have_stlport, [ AC_LANG_SAVE AC_LANG_CPLUSPLUS AC_EGREP_CPP(yes,[ #include <vector> #ifdef __SGI_STL_PORT yes #endif ], iii_cv_have_stlport=yes, iii_cv_have_stlport=no) ] ) dnl dnl Choose the correct STL library to link with dnl if test "$host_os" = cygwin && test "$iii_cv_have_stlport" = yes ; then LIBSTL=-lstlport_cygwin elif test "$ac_cv_prog_gxx" = yes; then if test "$iii_cv_have_stlport" = yes; then LIBSTL=-lstlport_gcc else LIBSTL=-lstdc++ fi; fi else iii_cv_have_stlport=no fi])
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -