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

📄 configure

📁 网络MPEG4IP流媒体开发源代码
💻
📖 第 1 页 / 共 5 页
字号:
if eval "test \"`echo '$''{'ac_cv_func_gethostbyname'+set}'`\" = set"; then  echo $ac_n "(cached) $ac_c" 1>&6else  cat > conftest.$ac_ext <<EOF#line 1650 "configure"#include "confdefs.h"/* System header to define __stub macros and hopefully few prototypes,    which can conflict with char gethostbyname(); below.  */#include <assert.h>/* Override any gcc2 internal prototype to avoid an error.  *//* We use char because int might match the return type of a gcc2    builtin and then its argument prototype would still apply.  */char gethostbyname();int main() {/* The GNU C library defines this for functions which it implements    to always fail with ENOSYS.  Some functions are actually named    something starting with __ and the normal name is an alias.  */#if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)choke me#elsegethostbyname();#endif; return 0; }EOFif { (eval echo configure:1673: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  rm -rf conftest*  eval "ac_cv_func_gethostbyname=yes"else  echo "configure: failed program was:" >&5  cat conftest.$ac_ext >&5  rm -rf conftest*  eval "ac_cv_func_gethostbyname=no"firm -f conftest*fiif eval "test \"`echo '$ac_cv_func_'gethostbyname`\" = yes"; then  echo "$ac_t""yes" 1>&6  :else  echo "$ac_t""no" 1>&6fi    if test $ac_cv_func_gethostbyname = no; then      echo $ac_n "checking for gethostbyname in -lnsl""... $ac_c" 1>&6echo "configure:1694: checking for gethostbyname in -lnsl" >&5ac_lib_var=`echo nsl'_'gethostbyname | sed 'y%./+-%__p_%'`if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then  echo $ac_n "(cached) $ac_c" 1>&6else  ac_save_LIBS="$LIBS"LIBS="-lnsl  $LIBS"cat > conftest.$ac_ext <<EOF#line 1702 "configure"#include "confdefs.h"/* Override any gcc2 internal prototype to avoid an error.  *//* We use char because int might match the return type of a gcc2    builtin and then its argument prototype would still apply.  */char gethostbyname();int main() {gethostbyname(); return 0; }EOFif { (eval echo configure:1713: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  rm -rf conftest*  eval "ac_cv_lib_$ac_lib_var=yes"else  echo "configure: failed program was:" >&5  cat conftest.$ac_ext >&5  rm -rf conftest*  eval "ac_cv_lib_$ac_lib_var=no"firm -f conftest*LIBS="$ac_save_LIBS"fiif eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then  echo "$ac_t""yes" 1>&6  X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"else  echo "$ac_t""no" 1>&6fi    fi    # lieder@skyler.mavd.honeywell.com says without -lsocket,    # socket/setsockopt and other routines are undefined under SCO ODT    # 2.0.  But -lsocket is broken on IRIX 5.2 (and is not necessary    # on later versions), says simon@lia.di.epfl.ch: it contains    # gethostby* variants that don't use the nameserver (or something).    # -lsocket must be given before -lnsl if both are needed.    # We assume that if connect needs -lnsl, so does gethostbyname.    echo $ac_n "checking for connect""... $ac_c" 1>&6echo "configure:1743: checking for connect" >&5if eval "test \"`echo '$''{'ac_cv_func_connect'+set}'`\" = set"; then  echo $ac_n "(cached) $ac_c" 1>&6else  cat > conftest.$ac_ext <<EOF#line 1748 "configure"#include "confdefs.h"/* System header to define __stub macros and hopefully few prototypes,    which can conflict with char connect(); below.  */#include <assert.h>/* Override any gcc2 internal prototype to avoid an error.  *//* We use char because int might match the return type of a gcc2    builtin and then its argument prototype would still apply.  */char connect();int main() {/* The GNU C library defines this for functions which it implements    to always fail with ENOSYS.  Some functions are actually named    something starting with __ and the normal name is an alias.  */#if defined (__stub_connect) || defined (__stub___connect)choke me#elseconnect();#endif; return 0; }EOFif { (eval echo configure:1771: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  rm -rf conftest*  eval "ac_cv_func_connect=yes"else  echo "configure: failed program was:" >&5  cat conftest.$ac_ext >&5  rm -rf conftest*  eval "ac_cv_func_connect=no"firm -f conftest*fiif eval "test \"`echo '$ac_cv_func_'connect`\" = yes"; then  echo "$ac_t""yes" 1>&6  :else  echo "$ac_t""no" 1>&6fi    if test $ac_cv_func_connect = no; then      echo $ac_n "checking for connect in -lsocket""... $ac_c" 1>&6echo "configure:1792: checking for connect in -lsocket" >&5ac_lib_var=`echo socket'_'connect | sed 'y%./+-%__p_%'`if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then  echo $ac_n "(cached) $ac_c" 1>&6else  ac_save_LIBS="$LIBS"LIBS="-lsocket $X_EXTRA_LIBS $LIBS"cat > conftest.$ac_ext <<EOF#line 1800 "configure"#include "confdefs.h"/* Override any gcc2 internal prototype to avoid an error.  *//* We use char because int might match the return type of a gcc2    builtin and then its argument prototype would still apply.  */char connect();int main() {connect(); return 0; }EOFif { (eval echo configure:1811: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  rm -rf conftest*  eval "ac_cv_lib_$ac_lib_var=yes"else  echo "configure: failed program was:" >&5  cat conftest.$ac_ext >&5  rm -rf conftest*  eval "ac_cv_lib_$ac_lib_var=no"firm -f conftest*LIBS="$ac_save_LIBS"fiif eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then  echo "$ac_t""yes" 1>&6  X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"else  echo "$ac_t""no" 1>&6fi    fi    # gomez@mi.uni-erlangen.de says -lposix is necessary on A/UX.    echo $ac_n "checking for remove""... $ac_c" 1>&6echo "configure:1835: checking for remove" >&5if eval "test \"`echo '$''{'ac_cv_func_remove'+set}'`\" = set"; then  echo $ac_n "(cached) $ac_c" 1>&6else  cat > conftest.$ac_ext <<EOF#line 1840 "configure"#include "confdefs.h"/* System header to define __stub macros and hopefully few prototypes,    which can conflict with char remove(); below.  */#include <assert.h>/* Override any gcc2 internal prototype to avoid an error.  *//* We use char because int might match the return type of a gcc2    builtin and then its argument prototype would still apply.  */char remove();int main() {/* The GNU C library defines this for functions which it implements    to always fail with ENOSYS.  Some functions are actually named    something starting with __ and the normal name is an alias.  */#if defined (__stub_remove) || defined (__stub___remove)choke me#elseremove();#endif; return 0; }EOFif { (eval echo configure:1863: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  rm -rf conftest*  eval "ac_cv_func_remove=yes"else  echo "configure: failed program was:" >&5  cat conftest.$ac_ext >&5  rm -rf conftest*  eval "ac_cv_func_remove=no"firm -f conftest*fiif eval "test \"`echo '$ac_cv_func_'remove`\" = yes"; then  echo "$ac_t""yes" 1>&6  :else  echo "$ac_t""no" 1>&6fi    if test $ac_cv_func_remove = no; then      echo $ac_n "checking for remove in -lposix""... $ac_c" 1>&6echo "configure:1884: checking for remove in -lposix" >&5ac_lib_var=`echo posix'_'remove | sed 'y%./+-%__p_%'`if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then  echo $ac_n "(cached) $ac_c" 1>&6else  ac_save_LIBS="$LIBS"LIBS="-lposix  $LIBS"cat > conftest.$ac_ext <<EOF#line 1892 "configure"#include "confdefs.h"/* Override any gcc2 internal prototype to avoid an error.  *//* We use char because int might match the return type of a gcc2    builtin and then its argument prototype would still apply.  */char remove();int main() {remove(); return 0; }EOFif { (eval echo configure:1903: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  rm -rf conftest*  eval "ac_cv_lib_$ac_lib_var=yes"else  echo "configure: failed program was:" >&5  cat conftest.$ac_ext >&5  rm -rf conftest*  eval "ac_cv_lib_$ac_lib_var=no"firm -f conftest*LIBS="$ac_save_LIBS"fiif eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then  echo "$ac_t""yes" 1>&6  X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"else  echo "$ac_t""no" 1>&6fi    fi    # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.    echo $ac_n "checking for shmat""... $ac_c" 1>&6echo "configure:1927: checking for shmat" >&5if eval "test \"`echo '$''{'ac_cv_func_shmat'+set}'`\" = set"; then  echo $ac_n "(cached) $ac_c" 1>&6else  cat > conftest.$ac_ext <<EOF#line 1932 "configure"#include "confdefs.h"/* System header to define __stub macros and hopefully few prototypes,    which can conflict with char shmat(); below.  */#include <assert.h>/* Override any gcc2 internal prototype to avoid an error.  *//* We use char because int might match the return type of a gcc2    builtin and then its argument prototype would still apply.  */char shmat();int main() {/* The GNU C library defines this for functions which it implements    to always fail with ENOSYS.  Some functions are actually named    something starting with __ and the normal name is an alias.  */#if defined (__stub_shmat) || defined (__stub___shmat)choke me#elseshmat();#endif; return 0; }EOFif { (eval echo configure:1955: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  rm -rf conftest*  eval "ac_cv_func_shmat=yes"else  echo "configure: failed program was:" >&5  cat conftest.$ac_ext >&5  rm -rf conftest*  eval "ac_cv_func_shmat=no"firm -f conftest*fiif eval "test \"`echo '$ac_cv_func_'shmat`\" = yes"; then  echo "$ac_t""yes" 1>&6  :else  echo "$ac_t""no" 1>&6fi    if test $ac_cv_func_shmat = no; then      echo $ac_n "checking for shmat in -lipc""... $ac_c" 1>&6echo "configure:1976: checking for shmat in -lipc" >&5ac_lib_var=`echo ipc'_'shmat | sed 'y%./+-%__p_%'`if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then  echo $ac_n "(cached) $ac_c" 1>&6else  ac_save_LIBS="$LIBS"LIBS="-lipc  $LIBS"cat > conftest.$ac_ext <<EOF#line 1984 "configure"#include "confdefs.h"/* Override any gcc2 internal prototype to avoid an error.  *//* We use char because int might match the return type of a gcc2    builtin and then its argument prototype would still apply.  */char shmat();int main() {shmat(); return 0; }EOFif { (eval echo configure:1995: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  rm -rf conftest*  eval "ac_cv_lib_$ac_lib_var=yes"else  echo "configure: failed program was:" >&5  cat conftest.$ac_ext >&5  rm -rf conftest*  eval "ac_cv_lib_$ac_lib_var=no"firm -f conftest*LIBS="$ac_save_LIBS"fiif eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then  echo "$ac_t""yes" 1>&6  X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"else  echo "$ac_t""no" 1>&6fi    fi  fi  # Check for libraries that X11R6 Xt/Xaw programs need.  ac_save_LDFLAGS="$LDFLAGS"  test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"  # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to  # check for ICE first), but we must link in the order -lSM -lICE or  # we get undefined symbols.  So assume we have SM if we have ICE.  # These have to be linked with before -lX11, unlike the other  # libraries we check for below, so use a different variable.  #  --interran@uluru.Stanford.EDU, kb@cs.umb.edu.  echo $ac_n "checking for IceConnectionNumber in -lICE""... $ac_c" 1>&6echo "configure:2028: checking for IceConnectionNumber in -lICE" >&5ac_lib_var=`echo ICE'_'IceConnectionNumber | sed 'y%./+-%__p_%'`if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then  echo $ac_n "(cached) $ac_c" 1>&6else  ac_save_LIBS="$LIBS"LIBS="-lICE $X_EXTRA_LIBS $LIBS"cat > conftest.$ac_ext <<EOF#line 2036 "configure"#include "confdefs.h"/* Override any gcc2 internal prototype to avoid an error.  *//* We use char because int might match the return type of a gcc2    builtin and then its argument prototype would still apply.  */char IceConnectionNumber();int main() {IceConnectionNumber(); return 0; }EOFif { (eval echo configure:2047: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  rm -rf conftest*  eval "ac_cv_lib_$ac_lib_var=yes"else  echo "configure: failed program was:" >&5  cat conftest.$ac_ext >&5  rm -rf conftest*  eval "ac_cv_lib_$ac_lib_var=no"

⌨️ 快捷键说明

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