⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 configure.in

📁 对各种手机进行编程的工具包源码gsmlib 1.9版本。
💻 IN
字号:
dnl *************************************************************************dnl * GSM TA/ME librarydnl *dnl * File:    configure.indnl *dnl * Purpose: autoconf configure script templatednl *dnl * Author:  Peter Hofmann (software@pxh.de)dnl *dnl * Created: 11.11.1999dnl *************************************************************************dnl Process this file with autoconf to produce a configure script.AC_INIT(gsmlib/gsm_error.h)dnl national language support (NLS)ALL_LINGUAS="de"dnl install all available linguas by defaultunset LINGUASAM_GNU_GETTEXTdnl check for libintlAC_CHECK_LIB(intl, textdomain)dnl use config headerAM_CONFIG_HEADER(gsm_config.h)dnl OtherAC_CONFIG_AUX_DIR(scripts)AC_PROG_INSTALLdnl use automakeAM_INIT_AUTOMAKE(gsmlib, 1.9)dnl change to no if you want no shared libraries for debugging purposesAM_ENABLE_SHARED(yes)dnl use -O2 optimization by defaultif test "$CXXFLAGS" = ""; then   CXXFLAGS="-O2"fidnl comment out this line to get extensive debugging output and assertsdnl CXXFLAGS="-DNDEBUG $CXXFLAGS"dnl uncomment to get translations without installing gsmlibdnl CXXFLAGS="-DLOCAL_TRANSLATIONS $CXXFLAGS"dnl check _REENTRANT in header filesif test x"`egrep _REENTRANT /usr/include/features.h`" != x; then  CXXFLAGS="-D_REENTRANT $CXXFLAGS"  CFLAGS="-D_REENTRANT $CFLAGS"fidnl output all warningsCXXFLAGS="-Wall $CXXFLAGS"dnl use libtoolAM_PROG_LIBTOOLdnl Checks for programs.AC_PROG_CPPAC_PROG_CXXdnl check for gcc 2.95.xAC_TRY_RUN([#include <unistd.h>main(){#if defined(__GNUC__) && \    ! (__GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 95))    return 1;#endif  return 0;}],,[echo "need at least gcc 2.95 to compile correctly"exit 1])dnl check for allocaAC_FUNC_ALLOCAdnl check for getopt_long in the C libraryAC_CHECK_LIB(c, getopt_long, AC_DEFINE(HAVE_GETOPT_LONG))dnl check for alarm in the C libraryAC_CHECK_LIB(c, alarm, AC_DEFINE(HAVE_ALARM))dnl check for netinet/in.h headerAC_CHECK_HEADERS(netinet/in.h)dnl check for string.h headerAC_CHECK_HEADERS(string.h)dnl check for libintl.h headerAC_CHECK_HEADERS(libintl.h)dnl Checks for typedefs, structures, and compiler characteristics.AC_C_CONSTdnl check for vsnprintf()dnl AC_FUNC_VPRINTFAC_EGREP_HEADER(vsnprintf, stdio.h, AC_DEFINE(HAVE_VSNPRINTF))dnl checks for builtin data type sizesAC_CHECK_SIZEOF(unsigned short int, 2)AC_CHECK_SIZEOF(unsigned long int, 4)AC_CHECK_SIZEOF(unsigned int, 4)dnl Project-specific settingsGSM_VERSION="1:3:0"AC_SUBST(GSM_VERSION)dnl set locale dir (FIXME there must be a better way)_localedir=`eval "echo $datadir/locale"`if test "$_localedir" = "NONE/share/locale"; then   AC_DEFINE_UNQUOTED(LOCALEDIR, "/usr/local/share/locale")else   _localedir=`echo \"$_localedir\"`   AC_DEFINE_UNQUOTED(LOCALEDIR, $_localedir)fidnl whether to compile the intl directoryAM_CONDITIONAL(COMPILE_INTL, test x$USE_INCLUDED_LIBINTL = xyes)AC_OUTPUT(Makefile gsmlib/Makefile tests/Makefile apps/Makefile win32/Makefile          doc/Makefile scripts/Makefile intl/Makefile po/Makefile.in          ext/Makefile,          echo timestamp > stamp-h)dnl repair Makefile in po subdirsed -e "/POTFILES =/r po/POTFILES" po/Makefile.in > po/Makefile

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -