configure.in
上传用户:zhuqijet
上传日期:2013-06-25
资源大小:10074k
文件大小:5k
源码类别:

词法分析

开发平台:

Visual C++

  1. dnl Process this file with autoconf to produce a configure script
  2. AC_INIT(util/XercesDefs.hpp)
  3. dnl AC_CONFIG_HEADER(common/icucfg.h)
  4. dnl AM_INIT_AUTOMAKE(xerces-c,2.3.0)
  5. dnl Checks for programs
  6. AC_PROG_CC
  7. AC_PROG_CXX
  8. AC_PROG_INSTALL
  9. AC_CHECK_PROG(AUTOCONF, autoconf, autoconf, true)
  10. dnl
  11. dnl Do not know how to use this macro, so comment it out.
  12. dnl
  13. dnl special pthread handling (AIX uses pthreads instead of pthread)
  14. dnl AC_CHECK_LIB(pthread, pthread_create)
  15. dnl if test $ac_cv_lib_pthread_pthread_create = no; then
  16. dnl AC_CHECK_LIB(pthreads, pthread_create)
  17. dnl fi
  18. dnl
  19. dnl Checks for typedefs
  20. AC_CHECK_TYPE(XMLByte,unsigned char)
  21. dnl Determine the host system and Makefile fragment
  22. AC_CANONICAL_HOST
  23. dnl Platform-specific Makefile setup
  24. case "${host}" in
  25.         *-*-solaris*)   platform=SOLARIS ;;
  26.         *-*-sco*)       platform=OPENSERVER ;;
  27.         *-*-sysv5*)     platform=UNIXWARE ;;
  28.         *-*-UnixWare*)  platform=UNIXWARE ;;
  29.         *-*-unixware*)  platform=UNIXWARE ;;
  30.         *-*-beos*)      platform=BEOS ;;
  31.         *-*-nto*)       platform=QNX ;;
  32.         *-*-linux*)     platform=LINUX ;;
  33.         *-*-freebsd*)   platform=FREEBSD ;;
  34.         *-*-netbsd*)    platform=NETBSD ;;
  35.         *-*-irix*)      platform=IRIX ;;
  36.         *-*-aix*)       platform=AIX
  37.                       case "${host}" in
  38.                          *-*-aix4.1*)   osver=AIX41;;
  39.                          *-*-aix4.2*)   osver=AIX42;;
  40.                          *-*-aix4.3*)   osver=AIX43;;
  41.                          *-*-aix4.*)    osver=AIX43;;
  42.                       esac;;
  43.         *-sequent-*)    platform=PTX ;;
  44.         *-*-hp*)        platform=HPUX ;
  45.                         case "${host}" in
  46.                             *-*-hpux11*)  osver=HPUX11;;
  47.                             *-*-hpux10*)  osver=HPUX10;;
  48.                             *)            osver=HPUX11;;
  49.                         esac;;
  50.         *-*-mvs*)       platform=OS390 ;;
  51.         *-*-os400*)     platform=OS400 ;;
  52.         *-*-OS400*)     platform=OS400 ;;
  53.         *-*-osf*) platform=TRU64 ;;
  54.         *-apple-*) platform=MACOSX ;;
  55.         *-*-cygwin*)    platform=CYGWIN ;;
  56.         *)              platform=UNKNOWN ;;
  57. esac
  58. AC_SUBST(platform)
  59. cxx=${CXX}
  60. AC_SUBST(cxx)
  61. AC_SUBST(GXX)
  62. cc=${CC}
  63. AC_SUBST(cc)
  64. AC_SUBST(GCC)
  65. AC_SUBST(prefix)
  66. prefix_include='${PREFIX}/include/xercesc'
  67. AC_SUBST(prefix_include)
  68. AC_SUBST(osver)
  69. cxxflags=${CXXFLAGS}
  70. AC_SUBST(cxxflags)
  71. cppflags=${CPPFLAGS}
  72. AC_SUBST(cppflags)
  73. cflags=${CFLAGS}
  74. AC_SUBST(cflags)
  75. ldflags=${LDFLAGS}
  76. AC_SUBST(ldflags)
  77. libs=${LIBS}
  78. AC_SUBST(libs)
  79. uselibwww=${USELIBWWW}
  80. AC_SUBST(uselibwww)
  81. messageloader=${MESSAGELOADER}
  82. AC_SUBST(messageloader)
  83. transcoder=${TRANSCODER}
  84. AC_SUBST(transcoder)
  85. netaccessor=${NETACCESSOR}
  86. AC_SUBST(netaccessor)
  87. threads=${THREADS}
  88. AC_SUBST(threads)
  89. bitstobuild=${BITSTOBUILD}
  90. AC_SUBST(bitstobuild)
  91. dnl output the Makefiles
  92. AC_OUTPUT([Makefile 
  93. util/Makefile 
  94. util/Transcoders/Cygwin/Makefile 
  95. util/Transcoders/ICU/Makefile 
  96. util/Transcoders/Iconv/Makefile 
  97. util/Transcoders/Iconv390/Makefile 
  98. util/Transcoders/Uniconv390/Makefile 
  99. util/Transcoders/Iconv400/Makefile 
  100. util/Transcoders/IconvFBSD/Makefile 
  101. util/Transcoders/IconvGNU/Makefile 
  102. util/Transcoders/MacOSUnicodeConverter/Makefile 
  103. util/Platforms/Makefile 
  104. util/Platforms/Solaris/Makefile 
  105. util/Platforms/AIX/Makefile 
  106. util/Platforms/BeOS/Makefile 
  107. util/Platforms/QNX/Makefile 
  108. util/Platforms/Linux/Makefile 
  109. util/Platforms/FreeBSD/Makefile 
  110. util/Platforms/NetBSD/Makefile 
  111. util/Platforms/HPUX/Makefile 
  112. util/Platforms/OS390/Makefile 
  113. util/Platforms/OS400/Makefile 
  114. util/Platforms/IRIX/Makefile 
  115. util/Platforms/PTX/Makefile 
  116. util/Platforms/OpenServer/Makefile 
  117. util/Platforms/UnixWare/Makefile 
  118. util/Platforms/Tru64/Makefile 
  119. util/Platforms/MacOS/Makefile 
  120. util/Platforms/Win32/Makefile 
  121. util/Compilers/Makefile 
  122. util/MsgLoaders/InMemory/Makefile 
  123. util/MsgLoaders/ICU/Makefile 
  124. util/MsgLoaders/ICU/resources/Makefile 
  125. util/MsgLoaders/MsgCatalog/Makefile 
  126. util/MsgLoaders/MsgFile/Makefile 
  127. util/NetAccessors/Socket/Makefile 
  128. util/NetAccessors/libWWW/Makefile 
  129. util/NetAccessors/MacOSURLAccessCF/Makefile 
  130. util/regx/Makefile 
  131. validators/Makefile 
  132. validators/common/Makefile 
  133. validators/datatype/Makefile 
  134. validators/DTD/Makefile 
  135. validators/schema/Makefile 
  136. validators/schema/identity/Makefile 
  137. framework/Makefile 
  138. dom/Makefile 
  139. dom/impl/Makefile 
  140. dom/deprecated/Makefile 
  141. parsers/Makefile 
  142. internal/Makefile 
  143. sax/Makefile 
  144. sax2/Makefile 
  145. ../../obj/Makefile],
  146. [chmod +x ./configure],
  147. [chmod +x ./runConfigure],)
  148. echo
  149. echo Having build problems?
  150. echo   Read instructions at http://xml.apache.org/xerces-c/build.html
  151. echo Still cannot resolve it?
  152. echo   Find out if someone else had the same problem before.
  153. echo   Go to http://marc.theaimsgroup.com/?l=xerces-c-dev