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

📄 configure

📁 linux系统下的音频通信
💻
📖 第 1 页 / 共 5 页
字号:
#--------------------------------------------------------------------#	Read in configuration information generated by Tcl for shared#	libraries, and arrange for it to be substituted into our#	Makefile.#--------------------------------------------------------------------file=$TCL_BIN_DIR/tclConfig.sh. $file# Set the default compiler switches based on the --enable-symbols option# Check whether --enable-symbols or --disable-symbols was given.if test "${enable_symbols+set}" = set; then  enableval="$enable_symbols"  tcl_ok=$enablevalelse  tcl_ok=nofiif test "$tcl_ok" = "yes"; then    CFLAGS_DEFAULT=CFLAGS_DEBUG    TK_DBGX=gelse    CFLAGS_DEFAULT=CFLAGS_OPTIMIZE    TK_DBGX=""fiSHLIB_CFLAGS=$TCL_SHLIB_CFLAGSSHLIB_LD=$TCL_SHLIB_LDSHLIB_LD_LIBS=$TCL_SHLIB_LD_LIBSSHLIB_SUFFIX=$TCL_SHLIB_SUFFIXSHLIB_VERSION=$TCL_SHLIB_VERSIONDL_LIBS=$TCL_DL_LIBSLD_FLAGS=$TCL_LD_FLAGSCFLAGS_DEBUG=$TCL_CFLAGS_DEBUGCFLAGS_OPTIMIZE=$TCL_CFLAGS_OPTIMIZELIB_RUNTIME_DIR='${LIB_RUNTIME_DIR}'# If Tcl and Tk are installed in different places, adjust the library# search path to reflect this.if test "$TCL_EXEC_PREFIX" != "$exec_prefix"; then    LIB_RUNTIME_DIR="${LIB_RUNTIME_DIR}:${TCL_EXEC_PREFIX}"fi#--------------------------------------------------------------------#	Supply a substitute for stdlib.h if it doesn't define strtol,#	strtoul, or strtod (which it doesn't in some versions of SunOS).#--------------------------------------------------------------------echo $ac_n "checking stdlib.h""... $ac_c" 1>&6echo "configure:923: checking stdlib.h" >&5cat > conftest.$ac_ext <<EOF#line 925 "configure"#include "confdefs.h"#include <stdlib.h>EOFif (eval "$ac_cpp conftest.$ac_ext") 2>&5 |  egrep "strtol" >/dev/null 2>&1; then  rm -rf conftest*  tk_ok=yeselse  rm -rf conftest*  tk_ok=nofirm -f conftest*cat > conftest.$ac_ext <<EOF#line 940 "configure"#include "confdefs.h"#include <stdlib.h>EOFif (eval "$ac_cpp conftest.$ac_ext") 2>&5 |  egrep "strtoul" >/dev/null 2>&1; then  :else  rm -rf conftest*  tk_ok=nofirm -f conftest*cat > conftest.$ac_ext <<EOF#line 954 "configure"#include "confdefs.h"#include <stdlib.h>EOFif (eval "$ac_cpp conftest.$ac_ext") 2>&5 |  egrep "strtod" >/dev/null 2>&1; then  :else  rm -rf conftest*  tk_ok=nofirm -f conftest*if test $tk_ok = no; then    cat >> confdefs.h <<\EOF#define NO_STDLIB_H 1EOFfiecho "$ac_t""$tk_ok" 1>&6#--------------------------------------------------------------------#	Include sys/select.h if it exists and if it supplies things#	that appear to be useful and aren't already in sys/types.h.#	This appears to be true only on the RS/6000 under AIX.  Some#	systems like OSF/1 have a sys/select.h that's of no use, and#	other systems like SCO UNIX have a sys/select.h that's#	pernicious.  If "fd_set" isn't defined anywhere then set a#	special flag.#--------------------------------------------------------------------echo $ac_n "checking fd_set and sys/select""... $ac_c" 1>&6echo "configure:986: checking fd_set and sys/select" >&5cat > conftest.$ac_ext <<EOF#line 988 "configure"#include "confdefs.h"#include <sys/types.h>int main() {fd_set readMask, writeMask;; return 0; }EOFif { (eval echo configure:995: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then  rm -rf conftest*  tk_ok=yeselse  echo "configure: failed program was:" >&5  cat conftest.$ac_ext >&5  rm -rf conftest*  tk_ok=nofirm -f conftest*if test $tk_ok = no; then    cat > conftest.$ac_ext <<EOF#line 1007 "configure"#include "confdefs.h"#include <sys/select.h>EOFif (eval "$ac_cpp conftest.$ac_ext") 2>&5 |  egrep "fd_mask" >/dev/null 2>&1; then  rm -rf conftest*  tk_ok=yesfirm -f conftest*    if test $tk_ok = yes; then	cat >> confdefs.h <<\EOF#define HAVE_SYS_SELECT_H 1EOF    fifiecho "$ac_t""$tk_ok" 1>&6if test $tk_ok = no; then    cat >> confdefs.h <<\EOF#define NO_FD_SET 1EOFfi#--------------------------------------------------------------------#	Check for various typedefs and provide substitutes if#	they don't exist.#--------------------------------------------------------------------echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6echo "configure:1039: checking for ANSI C header files" >&5if eval "test \"`echo '$''{'ac_cv_header_stdc'+set}'`\" = set"; then  echo $ac_n "(cached) $ac_c" 1>&6else  cat > conftest.$ac_ext <<EOF#line 1044 "configure"#include "confdefs.h"#include <stdlib.h>#include <stdarg.h>#include <string.h>#include <float.h>EOFac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"{ (eval echo configure:1052: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }ac_err=`grep -v '^ *+' conftest.out`if test -z "$ac_err"; then  rm -rf conftest*  ac_cv_header_stdc=yeselse  echo "$ac_err" >&5  echo "configure: failed program was:" >&5  cat conftest.$ac_ext >&5  rm -rf conftest*  ac_cv_header_stdc=nofirm -f conftest*if test $ac_cv_header_stdc = yes; then  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.cat > conftest.$ac_ext <<EOF#line 1069 "configure"#include "confdefs.h"#include <string.h>EOFif (eval "$ac_cpp conftest.$ac_ext") 2>&5 |  egrep "memchr" >/dev/null 2>&1; then  :else  rm -rf conftest*  ac_cv_header_stdc=nofirm -f conftest*fiif test $ac_cv_header_stdc = yes; then  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.cat > conftest.$ac_ext <<EOF#line 1087 "configure"#include "confdefs.h"#include <stdlib.h>EOFif (eval "$ac_cpp conftest.$ac_ext") 2>&5 |  egrep "free" >/dev/null 2>&1; then  :else  rm -rf conftest*  ac_cv_header_stdc=nofirm -f conftest*fiif test $ac_cv_header_stdc = yes; then  # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.if test "$cross_compiling" = yes; then  :else  cat > conftest.$ac_ext <<EOF#line 1108 "configure"#include "confdefs.h"#include <ctype.h>#define ISLOWER(c) ('a' <= (c) && (c) <= 'z')#define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))int main () { int i; for (i = 0; i < 256; i++)if (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) exit(2);exit (0); }EOFif { (eval echo configure:1119: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>/dev/nullthen  :else  echo "configure: failed program was:" >&5  cat conftest.$ac_ext >&5  rm -fr conftest*  ac_cv_header_stdc=nofirm -fr conftest*fififiecho "$ac_t""$ac_cv_header_stdc" 1>&6if test $ac_cv_header_stdc = yes; then  cat >> confdefs.h <<\EOF#define STDC_HEADERS 1EOFfiecho $ac_n "checking for mode_t""... $ac_c" 1>&6echo "configure:1143: checking for mode_t" >&5if eval "test \"`echo '$''{'ac_cv_type_mode_t'+set}'`\" = set"; then  echo $ac_n "(cached) $ac_c" 1>&6else  cat > conftest.$ac_ext <<EOF#line 1148 "configure"#include "confdefs.h"#include <sys/types.h>#if STDC_HEADERS#include <stdlib.h>#include <stddef.h>#endifEOFif (eval "$ac_cpp conftest.$ac_ext") 2>&5 |  egrep "mode_t[^a-zA-Z_0-9]" >/dev/null 2>&1; then  rm -rf conftest*  ac_cv_type_mode_t=yeselse  rm -rf conftest*  ac_cv_type_mode_t=nofirm -f conftest*fiecho "$ac_t""$ac_cv_type_mode_t" 1>&6if test $ac_cv_type_mode_t = no; then  cat >> confdefs.h <<\EOF#define mode_t intEOFfiecho $ac_n "checking for pid_t""... $ac_c" 1>&6echo "configure:1176: checking for pid_t" >&5if eval "test \"`echo '$''{'ac_cv_type_pid_t'+set}'`\" = set"; then  echo $ac_n "(cached) $ac_c" 1>&6else  cat > conftest.$ac_ext <<EOF#line 1181 "configure"#include "confdefs.h"#include <sys/types.h>#if STDC_HEADERS#include <stdlib.h>#include <stddef.h>#endifEOFif (eval "$ac_cpp conftest.$ac_ext") 2>&5 |  egrep "pid_t[^a-zA-Z_0-9]" >/dev/null 2>&1; then  rm -rf conftest*  ac_cv_type_pid_t=yeselse  rm -rf conftest*  ac_cv_type_pid_t=nofirm -f conftest*fiecho "$ac_t""$ac_cv_type_pid_t" 1>&6if test $ac_cv_type_pid_t = no; then  cat >> confdefs.h <<\EOF#define pid_t intEOFfiecho $ac_n "checking for size_t""... $ac_c" 1>&6echo "configure:1209: checking for size_t" >&5if eval "test \"`echo '$''{'ac_cv_type_size_t'+set}'`\" = set"; then  echo $ac_n "(cached) $ac_c" 1>&6else  cat > conftest.$ac_ext <<EOF#line 1214 "configure"#include "confdefs.h"#include <sys/types.h>#if STDC_HEADERS#include <stdlib.h>#include <stddef.h>#endifEOFif (eval "$ac_cpp conftest.$ac_ext") 2>&5 |  egrep "size_t[^a-zA-Z_0-9]" >/dev/null 2>&1; then  rm -rf conftest*  ac_cv_type_size_t=yeselse  rm -rf conftest*  ac_cv_type_size_t=nofirm -f conftest*fiecho "$ac_t""$ac_cv_type_size_t" 1>&6if test $ac_cv_type_size_t = no; then  cat >> confdefs.h <<\EOF#define size_t unsignedEOFfiecho $ac_n "checking for uid_t in sys/types.h""... $ac_c" 1>&6echo "configure:1242: checking for uid_t in sys/types.h" >&5if eval "test \"`echo '$''{'ac_cv_type_uid_t'+set}'`\" = set"; then  echo $ac_n "(cached) $ac_c" 1>&6else  cat > conftest.$ac_ext <<EOF#line 1247 "configure"#include "confdefs.h"#include <sys/types.h>EOFif (eval "$ac_cpp conftest.$ac_ext") 2>&5 |  egrep "uid_t" >/dev/null 2>&1; then  rm -rf conftest*  ac_cv_type_uid_t=yeselse  rm -rf conftest*  ac_cv_type_uid_t=nofirm -f conftest*fiecho "$ac_t""$ac_cv_type_uid_t" 1>&6if test $ac_cv_type_uid_t = no; then  cat >> confdefs.h <<\EOF#define uid_t intEOF  cat >> confdefs.h <<\EOF#define gid_t intEOFfi#------------------------------------------------------------------------------#       Find out about time handling differences.#------------------------------------------------------------------------------for ac_hdr in sys/time.hdoac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6echo "configure:1284: checking for $ac_hdr" >&5if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then  echo $ac_n "(cached) $ac_c" 1>&6else  cat > conftest.$ac_ext <<EOF#line 1289 "configure"#include "confdefs.h"#include <$ac_hdr>EOFac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"{ (eval echo configure:1294: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }ac_err=`grep -v '^ *+' conftest.out`if test -z "$ac_err"; then  rm -rf conftest*  eval "ac_cv_header_$ac_safe=yes"else  echo "$ac_err" >&5  echo "configure: failed program was:" >&5  cat conftest.$ac_ext >&5  rm -rf conftest*

⌨️ 快捷键说明

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