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

📄 configure

📁 linux进程跟踪的工具和源代码
💻
📖 第 1 页 / 共 5 页
字号:
#if defined(S_ISBLK) && defined(S_IFDIR)# if S_ISBLK (S_IFDIR)You lose.# endif#endif#if defined(S_ISBLK) && defined(S_IFCHR)# if S_ISBLK (S_IFCHR)You lose.# endif#endif#if defined(S_ISLNK) && defined(S_IFREG)# if S_ISLNK (S_IFREG)You lose.# endif#endif#if defined(S_ISSOCK) && defined(S_IFREG)# if S_ISSOCK (S_IFREG)You lose.# endif#endifEOFif (eval "$ac_cpp conftest.$ac_ext") 2>&5 |  egrep "You lose" >/dev/null 2>&1; then  rm -rf conftest*  ac_cv_header_stat_broken=yeselse  rm -rf conftest*  ac_cv_header_stat_broken=nofirm -f conftest*fiecho "$ac_t""$ac_cv_header_stat_broken" 1>&6if test $ac_cv_header_stat_broken = yes; then  cat >> confdefs.h <<\EOF#define STAT_MACROS_BROKEN 1EOFfiecho $ac_n "checking for uid_t in sys/types.h""... $ac_c" 1>&6echo "configure:1992: 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 1997 "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 intEOFfiecho $ac_n "checking for mode_t""... $ac_c" 1>&6echo "configure:2026: 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 2031 "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 "(^|[^a-zA-Z_0-9])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 type of array argument to getgroups""... $ac_c" 1>&6echo "configure:2059: checking type of array argument to getgroups" >&5if eval "test \"`echo '$''{'ac_cv_type_getgroups'+set}'`\" = set"; then  echo $ac_n "(cached) $ac_c" 1>&6else  if test "$cross_compiling" = yes; then  ac_cv_type_getgroups=crosselse  cat > conftest.$ac_ext <<EOF#line 2067 "configure"#include "confdefs.h"/* Thanks to Mike Rendell for this test.  */#include <sys/types.h>#define NGID 256#undef MAX#define MAX(x, y) ((x) > (y) ? (x) : (y))main(){  gid_t gidset[NGID];  int i, n;  union { gid_t gval; long lval; }  val;  val.lval = -1;  for (i = 0; i < NGID; i++)    gidset[i] = val.gval;  n = getgroups (sizeof (gidset) / MAX (sizeof (int), sizeof (gid_t)) - 1,                 gidset);  /* Exit non-zero if getgroups seems to require an array of ints.  This     happens when gid_t is short but getgroups modifies an array of ints.  */  exit ((n > 0 && gidset[n] != val.gval) ? 1 : 0);}EOFif { (eval echo configure:2092: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/nullthen    ac_cv_type_getgroups=gid_telse  echo "configure: failed program was:" >&5  cat conftest.$ac_ext >&5  rm -fr conftest*  ac_cv_type_getgroups=intfirm -fr conftest*fiif test $ac_cv_type_getgroups = cross; then        cat > conftest.$ac_ext <<EOF#line 2106 "configure"#include "confdefs.h"#include <unistd.h>EOFif (eval "$ac_cpp conftest.$ac_ext") 2>&5 |  egrep "getgroups.*int.*gid_t" >/dev/null 2>&1; then  rm -rf conftest*  ac_cv_type_getgroups=gid_telse  rm -rf conftest*  ac_cv_type_getgroups=intfirm -f conftest*fifiecho "$ac_t""$ac_cv_type_getgroups" 1>&6cat >> confdefs.h <<EOF#define GETGROUPS_T $ac_cv_type_getgroupsEOFecho $ac_n "checking whether sys/types.h defines makedev""... $ac_c" 1>&6echo "configure:2130: checking whether sys/types.h defines makedev" >&5if eval "test \"`echo '$''{'ac_cv_header_sys_types_h_makedev'+set}'`\" = set"; then  echo $ac_n "(cached) $ac_c" 1>&6else  cat > conftest.$ac_ext <<EOF#line 2135 "configure"#include "confdefs.h"#include <sys/types.h>int main() {return makedev(0, 0);; return 0; }EOFif { (eval echo configure:2142: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  rm -rf conftest*  ac_cv_header_sys_types_h_makedev=yeselse  echo "configure: failed program was:" >&5  cat conftest.$ac_ext >&5  rm -rf conftest*  ac_cv_header_sys_types_h_makedev=nofirm -f conftest*fiecho "$ac_t""$ac_cv_header_sys_types_h_makedev" 1>&6if test $ac_cv_header_sys_types_h_makedev = no; thenac_safe=`echo "sys/mkdev.h" | sed 'y%./+-%__p_%'`echo $ac_n "checking for sys/mkdev.h""... $ac_c" 1>&6echo "configure:2160: checking for sys/mkdev.h" >&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 2165 "configure"#include "confdefs.h"#include <sys/mkdev.h>EOFac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"{ (eval echo configure:2170: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`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*  eval "ac_cv_header_$ac_safe=no"firm -f conftest*fiif eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then  echo "$ac_t""yes" 1>&6  cat >> confdefs.h <<\EOF#define MAJOR_IN_MKDEV 1EOFelse  echo "$ac_t""no" 1>&6fi  if test $ac_cv_header_sys_mkdev_h = no; thenac_safe=`echo "sys/sysmacros.h" | sed 'y%./+-%__p_%'`echo $ac_n "checking for sys/sysmacros.h""... $ac_c" 1>&6echo "configure:2198: checking for sys/sysmacros.h" >&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 2203 "configure"#include "confdefs.h"#include <sys/sysmacros.h>EOFac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"{ (eval echo configure:2208: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`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*  eval "ac_cv_header_$ac_safe=no"firm -f conftest*fiif eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then  echo "$ac_t""yes" 1>&6  cat >> confdefs.h <<\EOF#define MAJOR_IN_SYSMACROS 1EOFelse  echo "$ac_t""no" 1>&6fi  fifiecho $ac_n "checking for sig_atomic_t in signal.h""... $ac_c" 1>&6echo "configure:2236: checking for sig_atomic_t in signal.h" >&5if eval "test \"`echo '$''{'ac_cv_sig_atomic_t'+set}'`\" = set"; then  echo $ac_n "(cached) $ac_c" 1>&6else  cat > conftest.$ac_ext <<EOF#line 2241 "configure"#include "confdefs.h"#include <signal.h>int main() {sig_atomic_t x;; return 0; }EOFif { (eval echo configure:2248: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then  rm -rf conftest*  ac_cv_sig_atomic_t=yeselse  echo "configure: failed program was:" >&5  cat conftest.$ac_ext >&5  rm -rf conftest*  ac_cv_sig_atomic_t=nofirm -f conftest*fiecho "$ac_t""$ac_cv_sig_atomic_t" 1>&6if test "$ac_cv_sig_atomic_t" = yesthen	cat >> confdefs.h <<\EOF#define HAVE_SIG_ATOMIC_T 1EOFfiecho $ac_n "checking for stat64 in (asm|sys)/stat.h""... $ac_c" 1>&6echo "configure:2270: checking for stat64 in (asm|sys)/stat.h" >&5if eval "test \"`echo '$''{'ac_cv_type_stat64'+set}'`\" = set"; then  echo $ac_n "(cached) $ac_c" 1>&6else  cat > conftest.$ac_ext <<EOF#line 2275 "configure"#include "confdefs.h"#ifdef linux#include <asm/stat.h>#else#include <sys/stat.h>#endifint main() {struct stat64 st;; return 0; }EOFif { (eval echo configure:2286: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then  rm -rf conftest*  ac_cv_type_stat64=yeselse  echo "configure: failed program was:" >&5  cat conftest.$ac_ext >&5  rm -rf conftest*  ac_cv_type_stat64=nofirm -f conftest*fiecho "$ac_t""$ac_cv_type_stat64" 1>&6if test "$ac_cv_type_stat64" = yesthen	cat >> confdefs.h <<\EOF#define HAVE_STAT64 1EOFfiecho $ac_n "checking for sin6_scope_id in sockaddr_in6""... $ac_c" 1>&6echo "configure:2308: checking for sin6_scope_id in sockaddr_in6" >&5if eval "test \"`echo '$''{'ac_cv_have_sin6_scope_id'+set}'`\" = set"; then  echo $ac_n "(cached) $ac_c" 1>&6else  cat > conftest.$ac_ext <<EOF#line 2313 "configure"#include "confdefs.h"#include <netinet/in.h>int main() { struct sockaddr_in6 s; s.sin6_scope_id = 0; ; return 0; }EOFif { (eval echo configure:2320: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then  rm -rf conftest*  ac_cv_have_sin6_scope_id=yeselse  echo "configure: failed program was:" >&5  cat conftest.$ac_ext >&5  rm -rf conftest*  ac_cv_have_sin6_scope_id=nofirm -f conftest*fiecho "$ac_t""$ac_cv_have_sin6_scope_id" 1>&6if test "$ac_cv_have_sin6_scope_id" = "yes" ; then       cat >> confdefs.h <<\EOF#define HAVE_SIN6_SCOPE_ID 1EOFelse       echo $ac_n "checking for sin6_scope_id in linux sockaddr_in6""... $ac_c" 1>&6echo "configure:2340: checking for sin6_scope_id in linux sockaddr_in6" >&5       if eval "test \"`echo '$''{'ac_cv_have_sin6_scope_id_linux'+set}'`\" = set"; then  echo $ac_n "(cached) $ac_c" 1>&6else  cat > conftest.$ac_ext <<EOF#line 2345 "configure"#include "confdefs.h"#include <linux/in6.h>int main() { struct sockaddr_in6 s; s.sin6_scope_id = 0; ; return 0; }EOFif { (eval echo configure:2352: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then  rm -rf conftest*  ac_cv_have_sin6_scope_id_linux=yeselse  echo "configure: failed program was:" >&5  cat conftest.$ac_ext >&5  rm -rf conftest*  ac_cv_have_sin6_scope_id_linux=nofirm -f conftest*fi       echo "$ac_t""$ac_cv_have_sin6_scope_id_linux" 1>&6       if test "$ac_cv_have_sin6_scope_id_linux" = "yes" ; then               cat >> confdefs.h <<\EOF#define HAVE_SIN6_SCOPE_ID 1EOF               cat >> confdefs.h <<\EOF#define HAVE_SIN6_SCOPE_ID_LINUX 1EOF       fifiecho $ac_n "checking for long long""... $ac_c" 1>&6echo "configure:2378: checking for long long" >&5if eval "test \"`echo '$''{'ac_cv_type_long_long'+set}'`\" = set"; then  echo $ac_n "(cached) $ac_c" 1>&6else  cat > conftest.$ac_ext <<EOF#line 2383 "configure"#include "confdefs.h"int main() {long long x = 20;; return 0; }EOFif { (eval echo configure:2390: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then  rm -rf conftest*  ac_cv_type_long_long=yeselse  echo "configure: failed program was:" >&5  cat conftest.$ac_ext >&5  rm -rf conftest*  ac_cv_type_long_long=nofirm -f conftest*fiecho "$ac_t""$ac_cv_type_long_long" 1>&6if test "$ac_cv_type_long_long" = yesthen	cat >> confdefs.h <<\EOF#define HAVE_LONG_LONG 1EOFfiecho $ac_n "checking for little endian long long""... $ac_c" 1>&6echo "configure:2412: checking for little endian long long" >&5if eval "test \"`echo '$''{'ac_cv_have_little_endian_long_long'+set}'`\" = set"; then  echo $ac_n "(cached) $ac_c" 1>&6else  if test "$cross_compiling" = yes; then  # Should try to guess hereac_cv_have_little_endian_long_long=noelse  cat > conftest.$ac_ext <<EOF#line 2422 "configure"#include "confdefs.h"int main () {	union {		long long 

⌨️ 快捷键说明

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