📄 configure
字号:
case "$GNOME_CONFIG" in /*) ac_cv_path_GNOME_CONFIG="$GNOME_CONFIG" # Let the user override the test with a path. ;; ?:/*) ac_cv_path_GNOME_CONFIG="$GNOME_CONFIG" # Let the user override the test with a dos path. ;; *) IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" ac_dummy="$PATH" for ac_dir in $ac_dummy; do test -z "$ac_dir" && ac_dir=. if test -f $ac_dir/$ac_word; then ac_cv_path_GNOME_CONFIG="$ac_dir/$ac_word" break fi done IFS="$ac_save_ifs" test -z "$ac_cv_path_GNOME_CONFIG" && ac_cv_path_GNOME_CONFIG="no" ;;esacfiGNOME_CONFIG="$ac_cv_path_GNOME_CONFIG"if test -n "$GNOME_CONFIG"; then echo "$ac_t""$GNOME_CONFIG" 1>&6else echo "$ac_t""no" 1>&6fi if test "$GNOME_CONFIG" = "no"; then no_gnome_config="yes" else echo $ac_n "checking if $GNOME_CONFIG works""... $ac_c" 1>&6echo "configure:1719: checking if $GNOME_CONFIG works" >&5 if $GNOME_CONFIG --libs-only-l gnome >/dev/null 2>&1; then echo "$ac_t""yes" 1>&6 # Extract the first word of "orbit-config", so it can be a program name with args.set dummy orbit-config; ac_word=$2echo $ac_n "checking for $ac_word""... $ac_c" 1>&6echo "configure:1727: checking for $ac_word" >&5if eval "test \"`echo '$''{'ac_cv_path_ORBIT_CONFIG'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6else case "$ORBIT_CONFIG" in /*) ac_cv_path_ORBIT_CONFIG="$ORBIT_CONFIG" # Let the user override the test with a path. ;; ?:/*) ac_cv_path_ORBIT_CONFIG="$ORBIT_CONFIG" # Let the user override the test with a dos path. ;; *) IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" ac_dummy="$PATH" for ac_dir in $ac_dummy; do test -z "$ac_dir" && ac_dir=. if test -f $ac_dir/$ac_word; then ac_cv_path_ORBIT_CONFIG="$ac_dir/$ac_word" break fi done IFS="$ac_save_ifs" test -z "$ac_cv_path_ORBIT_CONFIG" && ac_cv_path_ORBIT_CONFIG="no" ;;esacfiORBIT_CONFIG="$ac_cv_path_ORBIT_CONFIG"if test -n "$ORBIT_CONFIG"; then echo "$ac_t""$ORBIT_CONFIG" 1>&6else echo "$ac_t""no" 1>&6fi # Extract the first word of "orbit-idl", so it can be a program name with args.set dummy orbit-idl; ac_word=$2echo $ac_n "checking for $ac_word""... $ac_c" 1>&6echo "configure:1763: checking for $ac_word" >&5if eval "test \"`echo '$''{'ac_cv_path_ORBIT_IDL'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6else case "$ORBIT_IDL" in /*) ac_cv_path_ORBIT_IDL="$ORBIT_IDL" # Let the user override the test with a path. ;; ?:/*) ac_cv_path_ORBIT_IDL="$ORBIT_IDL" # Let the user override the test with a dos path. ;; *) IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" ac_dummy="$PATH" for ac_dir in $ac_dummy; do test -z "$ac_dir" && ac_dir=. if test -f $ac_dir/$ac_word; then ac_cv_path_ORBIT_IDL="$ac_dir/$ac_word" break fi done IFS="$ac_save_ifs" test -z "$ac_cv_path_ORBIT_IDL" && ac_cv_path_ORBIT_IDL="no" ;;esacfiORBIT_IDL="$ac_cv_path_ORBIT_IDL"if test -n "$ORBIT_IDL"; then echo "$ac_t""$ORBIT_IDL" 1>&6else echo "$ac_t""no" 1>&6fi echo $ac_n "checking for working ORBit environment""... $ac_c" 1>&6echo "configure:1797: checking for working ORBit environment" >&5if eval "test \"`echo '$''{'gnome_cv_orbit_found'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6else if test x$ORBIT_CONFIG = xno -o x$ORBIT_IDL = xno; then gnome_cv_orbit_found=no else gnome_cv_orbit_found=yes fi fiecho "$ac_t""$gnome_cv_orbit_found" 1>&6 if test x$gnome_cv_orbit_found = xyes; then HAVE_ORBIT_TRUE= HAVE_ORBIT_FALSE='#'else HAVE_ORBIT_TRUE='#' HAVE_ORBIT_FALSE=fi if test x$gnome_cv_orbit_found = xyes; then ORBIT_CFLAGS=`orbit-config --cflags client server` ORBIT_LIBS=`orbit-config --use-service=name --libs client server` else if test xfail = xfailure; then { echo "configure: error: ORBit not installed or installation problem" 1>&2; exit 1; } fi fi echo $ac_n "checking for gnorba libraries""... $ac_c" 1>&6echo "configure:1833: checking for gnorba libraries" >&5if eval "test \"`echo '$''{'gnome_cv_gnorba_found'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6else gnome_cv_gnorba_found=no if test x$gnome_cv_orbit_found = xyes; then GNORBA_CFLAGS="`gnome-config --cflags gnorba gnomeui`" GNORBA_LIBS="`gnome-config --libs gnorba gnomeui`" if test -n "$GNORBA_LIBS"; then gnome_cv_gnorba_found=yes fi fi fiecho "$ac_t""$gnome_cv_gnorba_found" 1>&6 if test x$gnome_cv_gnorba_found = xyes; then HAVE_GNORBA_TRUE= HAVE_GNORBA_FALSE='#'else HAVE_GNORBA_TRUE='#' HAVE_GNORBA_FALSE=fi if test x$gnome_cv_orbit_found = xyes; then GNORBA_CFLAGS="`gnome-config --cflags gnorba gnomeui`" GNORBA_LIBS="`gnome-config --libs gnorba gnomeui`" else if test xfail = xfailure; then { echo "configure: error: gnorba library not installed or installation problem" 1>&2; exit 1; } fi fi GNOME_LIBS="`$GNOME_CONFIG --libs-only-l gnome`" GNOMEUI_LIBS="`$GNOME_CONFIG --libs-only-l gnomeui`" GNOMEGNORBA_LIBS="`$GNOME_CONFIG --libs-only-l gnorba gnomeui`" GTKXMHTML_LIBS="`$GNOME_CONFIG --libs-only-l gtkxmhtml`" ZVT_LIBS="`$GNOME_CONFIG --libs-only-l zvt`" GNOME_LIBDIR="`$GNOME_CONFIG --libs-only-L gnorba gnomeui`" GNOME_INCLUDEDIR="`$GNOME_CONFIG --cflags gnorba gnomeui`" else echo "$ac_t""no" 1>&6 no_gnome_config="yes" fi fi if test x$exec_prefix = xNONE; then if test x$prefix = xNONE; then gnome_prefix=$ac_default_prefix/lib else gnome_prefix=$prefix/lib fi else gnome_prefix=`eval echo \`echo $libdir\`` fi if test "$no_gnome_config" = "yes"; then echo $ac_n "checking for gnomeConf.sh file in $gnome_prefix""... $ac_c" 1>&6echo "configure:1897: checking for gnomeConf.sh file in $gnome_prefix" >&5 if test -f $gnome_prefix/gnomeConf.sh; then echo "$ac_t""found" 1>&6 echo "loading gnome configuration from" \ "$gnome_prefix/gnomeConf.sh" . $gnome_prefix/gnomeConf.sh else echo "$ac_t""not found" 1>&6 if test xfail = xfail; then { echo "configure: error: Could not find the gnomeConf.sh file that is generated by gnome-libs install" 1>&2; exit 1; } fi fi fi fi if test -n "applets"; then n="applets" for i in $n; do echo $ac_n "checking extra library \"$i\"""... $ac_c" 1>&6echo "configure:1917: checking extra library \"$i\"" >&5 case $i in applets) GNOME_APPLETS_LIBS=`$GNOME_CONFIG --libs-only-l applets` echo "$ac_t""$GNOME_APPLETS_LIBS" 1>&6;; docklets) GNOME_DOCKLETS_LIBS=`$GNOME_CONFIG --libs-only-l docklets` echo "$ac_t""$GNOME_DOCKLETS_LIBS" 1>&6;; capplet) GNOME_CAPPLET_LIBS=`$GNOME_CONFIG --libs-only-l capplet` echo "$ac_t""$GNOME_CAPPLET_LIBS" 1>&6;; *) echo "$ac_t""unknown library" 1>&6 esac EXTRA_INCLUDEDIR=`$GNOME_CONFIG --cflags $i` GNOME_INCLUDEDIR="$GNOME_INCLUDEDIR $EXTRA_INCLUDEDIR" done fi for ac_hdr in sys/bitypes.hdoac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6echo "configure:1946: 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 1951 "configure"#include "confdefs.h"#include <$ac_hdr>EOFac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"{ (eval echo configure:1956: \"$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 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'` cat >> confdefs.h <<EOF#define $ac_tr_hdr 1EOF else echo "$ac_t""no" 1>&6fidone echo $ac_n "checking for u_int64_t""... $ac_c" 1>&6echo "configure:1983: checking for u_int64_t" >&5if eval "test \"`echo '$''{'ac_cv_type_u_int64_t'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6else cat > conftest.$ac_ext <<EOF#line 1988 "configure"#include "confdefs.h"#include <sys/types.h>#if STDC_HEADERS#include <stdlib.h>#include <stddef.h>#endif/* For Tru64 */#ifdef HAVE_SYS_BITYPES_H#include <sys/bitypes.h>#endifEOFif (eval "$ac_cpp conftest.$ac_ext") 2>&5 | egrep "(^|[^a-zA-Z_0-9])u_int64_t[^a-zA-Z_0-9]" >/dev/null 2>&1; then rm -rf conftest* ac_cv_type_u_int64_t=yeselse rm -rf conftest* ac_cv_type_u_int64_t=nofirm -f conftest*fiecho "$ac_t""$ac_cv_type_u_int64_t" 1>&6if test $ac_cv_type_u_int64_t = no; then cat >> confdefs.h <<\EOF#define u_int64_t unsigned long long intEOFfi echo $ac_n "checking for int64_t""... $ac_c" 1>&6echo "configure:2022: checking for int64_t" >&5if eval "test \"`echo '$''{'ac_cv_type_int64_t'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6else cat > conftest.$ac_ext <<EOF#line 2027 "configure"#include "confdefs.h"#include <sys/types.h>#if STDC_HEADERS#include <stdlib.h>#include <stddef.h>#endif/* For Tru64 */#ifdef HAVE_SYS_BITYPES_H#include <sys/bitypes.h>#endifEOFif (eval "$ac_cpp conftest.$ac_ext") 2>&5 | egrep "(^|[^a-zA-Z_0-9])int64_t[^a-zA-Z_0-9]" >/dev/null 2>&1; then rm -rf conftest* ac_cv_type_int64_t=yeselse rm -rf conftest* ac_cv_type_int64_t=nofirm -f conftest*fiecho "$ac_t""$ac_cv_type_int64_t" 1>&6if test $ac_cv_type_int64_t = no; then cat >> confdefs.h <<\EOF#define int64_t signed long long intEOFfi # Check whether --with-libgtop or --without-libgtop was given.if test "${with_libgtop+set}" = set; then withval="$with_libgtop" libgtop_config_prefix="$withval"else libgtop_config_prefix=""fi # Check whether --with-libgtop-exec or --without-libgtop-exec was given.if test "${with_libgtop_exec+set}" = set; then withval="$with_libgtop_exec" libgtop_config_exec_prefix="$withval"else libgtop_config_exec_prefix=""fi if test x$libgtop_config_exec_prefix != x ; then libgtop_config_args="$libgtop_config_args --exec-prefix=$libgtop_config_exec_prefix" if test x${LIBGTOP_CONFIG+set} != xset ; then LIBGTOP_CONFIG=$libgtop_config_exec_
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -