📄 configure
字号:
echo "configure: failed program was:" >>config.log cat confdefs.h >> config.log cat conftest.c >> config.log if test -s conftest.out ; then cat conftest.out >> config.log else ${CC-cc} $CFLAGS conftest.c -o conftest $LDFLAGS $LIBS >> config.log 2>&1 fifirm -f conftest*LIBS="${LIBS_save}"if test -n "${have_lib}"; then {test -n "$verbose" && \echo " defining HAVE_LIBV3"echo "#define" HAVE_LIBV3 1 >> confdefs.hDEFS="$DEFS -DHAVE_LIBV3=1"} LIBS="${LIBS} -lV3"fi else if test -z "$ac_echo_test" -a 1 = 1 ; thenecho "$ac_t""Error: HP currently requires the System V Release 3 libraries (libV3.a)"elseecho "$ac_t""Error: HP currently requires the System V Release 3 libraries (libV3.a)" 1>&1fiexit 1 fi fi # nsl is required in HPUX 11 for the xdr routines LIBS_save="${LIBS}"LIBS="${LIBS} -lnsl"have_lib=""if test -z "$ac_echo_n" ; thenac_echo_n=yesif (echo "testing\c"; echo 1,2,3) | grep c >/dev/null; then # Stardent Vistra SVR4 grep lacks -e, says ghazi@caip.rutgers.edu. if (echo -n testing; echo 1,2,3) | sed s/-n/xn/ | grep xn >/dev/null; then ac_n= ac_c='' ac_t=' ' else ac_n=-n ac_c= ac_t= fielse ac_n= ac_c='\c' ac_t=fiac_echo_test=`echo foo 1>&1`if test -z "$ac_echo_test" ; then print_error "Your sh shell does not handle the output redirection" print_error "1>&1 correctly. Configure will work around this problem," print_error "but you should report the problem to your vendor."fifiif test -z "$ac_echo_test" -a 1 = 1 ; thenecho $ac_n "checking for -lnsl""... $ac_c"elseecho $ac_n "checking for -lnsl""... $ac_c" 1>&1fiif test ! -f confdefs.h ; then if test -z "$ac_echo_test" -a 1 = 1 ; thenecho "$ac_t"""!! SHELL ERROR !!""elseecho "$ac_t"""!! SHELL ERROR !!"" 1>&1fi echo "The file confdefs.h created by configure has been removed" echo "This may be a problem with your shell; some versions of LINUX" echo "have this problem. See the Installation guide for more" echo "information." exit 1ficat > conftest.c <<EOF#include "confdefs.h"int main() { exit(0); }int t() { main(); }EOFif eval $compile; then if test -z "$ac_echo_test" -a 1 = 1 ; thenecho "$ac_t""yes"elseecho "$ac_t""yes" 1>&1fi have_lib="1" else if test -z "$ac_echo_test" -a 1 = 1 ; thenecho "$ac_t""no"elseecho "$ac_t""no" 1>&1fi expandcompile=`echo "$compile" | sed -e 's/>.*//'` eval echo "configure:$expandcompile" >> config.log echo "configure: failed program was:" >>config.log cat confdefs.h >> config.log cat conftest.c >> config.log if test -s conftest.out ; then cat conftest.out >> config.log else ${CC-cc} $CFLAGS conftest.c -o conftest $LDFLAGS $LIBS >> config.log 2>&1 fifirm -f conftest*LIBS="${LIBS_save}"if test -n "${have_lib}"; then {test -n "$verbose" && \echo " defining HAVE_LIBNSL"echo "#define" HAVE_LIBNSL 1 >> confdefs.hDEFS="$DEFS -DHAVE_LIBNSL=1"} LIBS="${LIBS} -lnsl"fi LIBS_save="${LIBS}"LIBS="${LIBS} -lU77"have_lib=""if test -z "$ac_echo_n" ; thenac_echo_n=yesif (echo "testing\c"; echo 1,2,3) | grep c >/dev/null; then # Stardent Vistra SVR4 grep lacks -e, says ghazi@caip.rutgers.edu. if (echo -n testing; echo 1,2,3) | sed s/-n/xn/ | grep xn >/dev/null; then ac_n= ac_c='' ac_t=' ' else ac_n=-n ac_c= ac_t= fielse ac_n= ac_c='\c' ac_t=fiac_echo_test=`echo foo 1>&1`if test -z "$ac_echo_test" ; then print_error "Your sh shell does not handle the output redirection" print_error "1>&1 correctly. Configure will work around this problem," print_error "but you should report the problem to your vendor."fifiif test -z "$ac_echo_test" -a 1 = 1 ; thenecho $ac_n "checking for -lU77""... $ac_c"elseecho $ac_n "checking for -lU77""... $ac_c" 1>&1fiif test ! -f confdefs.h ; then if test -z "$ac_echo_test" -a 1 = 1 ; thenecho "$ac_t"""!! SHELL ERROR !!""elseecho "$ac_t"""!! SHELL ERROR !!"" 1>&1fi echo "The file confdefs.h created by configure has been removed" echo "This may be a problem with your shell; some versions of LINUX" echo "have this problem. See the Installation guide for more" echo "information." exit 1ficat > conftest.c <<EOF#include "confdefs.h"int main() { exit(0); }int t() { main(); }EOFif eval $compile; then if test -z "$ac_echo_test" -a 1 = 1 ; thenecho "$ac_t""yes"elseecho "$ac_t""yes" 1>&1fi have_lib="1" else if test -z "$ac_echo_test" -a 1 = 1 ; thenecho "$ac_t""no"elseecho "$ac_t""no" 1>&1fi expandcompile=`echo "$compile" | sed -e 's/>.*//'` eval echo "configure:$expandcompile" >> config.log echo "configure: failed program was:" >>config.log cat confdefs.h >> config.log cat conftest.c >> config.log if test -s conftest.out ; then cat conftest.out >> config.log else ${CC-cc} $CFLAGS conftest.c -o conftest $LDFLAGS $LIBS >> config.log 2>&1 fifirm -f conftest*LIBS="${LIBS_save}"if test -n "${have_lib}"; then {test -n "$verbose" && \echo " defining HAVE_LIBU77"echo "#define" HAVE_LIBU77 1 >> confdefs.hDEFS="$DEFS -DHAVE_LIBU77=1"} LIBS="${LIBS} -lU77"fi # -lV3 is for sighold, etc. MDEP_FFLAGS="+U77 +T" if test -n "$p4comm_shared"; then DEFINE_SYSV_IPC="#define SYSV_IPC" fifi# DEC Alpha workstation# Possibly also Compaq OSF1 alphaif test -n "$p4arch_ALPHA"; then P4ARCH=ALPHA if test -n "$p4comm_shared"; then DEFINE_SYSV_IPC="#define SYSV_IPC" fifi# CRAYif test -n "$p4arch_CRAY"; then P4ARCH=CRAY AR='ar ruv' if test $USERCC = 0 ; then CC=cc ; fi if test $USERF77 = 0 ; then FC=cf77 ; fi CLINKER=$CC FLINKER=$FC RANLIB=truefi# PARAGONIP (Paragon w. Sockets)# We use ALPHA for P4ARCH because the alpha and paragon both use OSF/1if test -n "$p4arch_PARAGONIP"; then P4ARCH=ALPHA LIBS_save="${LIBS}"LIBS="${LIBS} -lrpc"have_lib=""if test -z "$ac_echo_n" ; thenac_echo_n=yesif (echo "testing\c"; echo 1,2,3) | grep c >/dev/null; then # Stardent Vistra SVR4 grep lacks -e, says ghazi@caip.rutgers.edu. if (echo -n testing; echo 1,2,3) | sed s/-n/xn/ | grep xn >/dev/null; then ac_n= ac_c='' ac_t=' ' else ac_n=-n ac_c= ac_t= fielse ac_n= ac_c='\c' ac_t=fiac_echo_test=`echo foo 1>&1`if test -z "$ac_echo_test" ; then print_error "Your sh shell does not handle the output redirection" print_error "1>&1 correctly. Configure will work around this problem," print_error "but you should report the problem to your vendor."fifiif test -z "$ac_echo_test" -a 1 = 1 ; thenecho $ac_n "checking for -lrpc""... $ac_c"elseecho $ac_n "checking for -lrpc""... $ac_c" 1>&1fiif test ! -f confdefs.h ; then if test -z "$ac_echo_test" -a 1 = 1 ; thenecho "$ac_t"""!! SHELL ERROR !!""elseecho "$ac_t"""!! SHELL ERROR !!"" 1>&1fi echo "The file confdefs.h created by configure has been removed" echo "This may be a problem with your shell; some versions of LINUX" echo "have this problem. See the Installation guide for more" echo "information." exit 1ficat > conftest.c <<EOF#include "confdefs.h"int main() { exit(0); }int t() { main(); }EOFif eval $compile; then if test -z "$ac_echo_test" -a 1 = 1 ; thenecho "$ac_t""yes"elseecho "$ac_t""yes" 1>&1fi have_lib="1" else if test -z "$ac_echo_test" -a 1 = 1 ; thenecho "$ac_t""no"elseecho "$ac_t""no" 1>&1fi expandcompile=`echo "$compile" | sed -e 's/>.*//'` eval echo "configure:$expandcompile" >> config.log echo "configure: failed program was:" >>config.log cat confdefs.h >> config.log cat conftest.c >> config.log if test -s conftest.out ; then cat conftest.out >> config.log else ${CC-cc} $CFLAGS conftest.c -o conftest $LDFLAGS $LIBS >> config.log 2>&1 fifirm -f conftest*LIBS="${LIBS_save}"if test -n "${have_lib}"; then {test -n "$verbose" && \echo " defining HAVE_LIBRPC"echo "#define" HAVE_LIBRPC 1 >> confdefs.hDEFS="$DEFS -DHAVE_LIBRPC=1"} LIBS="${LIBS} -lrpc"fi AR='ar860 r' if test $USERCC = 0 ; then CC=icc ; fi if test $USERF77 = 0 ; then FC=if77 ; fi CLINKER=$CC FLINKER=$FC RANLIB=truefi# NeXT workstationif test -n "$p4arch_NEXT"; then P4ARCH=NEXT MDEP_CFLAGS="" # Black hardware, with NeXTstep #MDEP_CFLAGS="-arch i386" # for 486's running NeXTstep #MDEP_CFLAGS="-arch m68k -arch i386" # fat binaries, for bothfi# DEC 5000 workstationif test -n "$p4arch_DEC5000"; then P4ARCH=DEC5000 if test -n "$p4comm_shared"; then DEFINE_SYSV_IPC="#define SYSV_IPC" fifi# RS6000 workstationif test -n "$p4arch_RS6000"; then# if test $userSet_threaded_listener = 0 -a -z "$p4comm_shared" ; then# threaded_listener=1# fi P4ARCH=RS6000 FC=xlf FLINKER=xlf RANLIB=true LIBS_save="${LIBS}"LIBS="${LIBS} -lbsd"have_lib=""if test -z "$ac_echo_n" ; thenac_echo_n=yesif (echo "testing\c"; echo 1,2,3) | grep c >/dev/null; then # Stardent Vistra SVR4 grep lacks -e, says ghazi@caip.rutgers.edu. if (echo -n testing; echo 1,2,3) | sed s/-n/xn/ | grep xn >/dev/null; then ac_n= ac_c='' ac_t=' ' else ac_n=-n ac_c= ac_t= fielse ac_n= ac_c='\c' ac_t=fiac_echo_test=`echo foo 1>&1`if test -z "$ac_echo_test" ; then print_error "Your sh shell does not handle the output redirection" print_error "1>&1 correctly. Configure will work around this problem," print_error "but you should report the problem to your vendor."fifiif test -z "$ac_echo_test" -a 1 = 1 ; thenecho $ac_n "checking for -lbsd""... $ac_c"elseecho $ac_n "checking for -lbsd""... $ac_c" 1>&1fiif test ! -f confdefs.h ; then if test -z "$ac_echo_test" -a 1 = 1 ; thenecho "$ac_t"""!! SHELL ERROR !!""elseecho "$ac_t"""!! SHELL ERROR !!"" 1>&1fi echo "The file confdefs.h created by configure has been removed" echo "This may be a problem with your shell; some versions of LINUX" echo "have this problem. See the Installation guide for more" echo "information." exit 1ficat > conftest.c <<EOF#include "confdefs.h"int main() { exit(0); }int t() { main(); }EOFif eval $compile; then if test -z "$ac_echo_test" -a 1 = 1 ; thenecho "$ac_t""yes"elseecho "$ac_t""yes" 1>&1fi have_lib="1" else if test -z "$ac_echo_test" -a 1 = 1 ; thenecho "$ac_t""no"elseecho "$ac_t""no" 1>&1fi expandcompile=`echo "$compile" | sed -e 's/>.*//'` eval echo "configure:$expandcompile" >> config.log echo "configure: failed program was:" >>config.log cat confdefs.h >> config.log cat conftest.c >> config.log if test -s conftest.out ; then cat conftest.out >> config.log else ${CC-cc} $CFLAGS conftest.c -o conftest $LDFLAGS $LIBS >> config.log 2>&1 fifirm -f conftest*LIBS="${LIBS_save}"if test -n "${have_lib}"; then {test -n "$verbose" && \echo " defining HAVE_LIBBSD"echo "#define" HAVE_LIBBSD 1 >> confdefs.hDEFS="$DEFS -DHAVE_LIBBSD=1"} LIBS="${LIBS} -lbsd"fi MDEP_CFLAGS=-D_ALL_SOURCE if test -n "$p4comm_shared"; then DEFINE_SYSV_IPC="#define SYSV_IPC" fifi# SP using TCPif test -n "$p4arch_SP1"; then P4ARCH=SP1 FC=xlf FLINKER=xlf RANLIB=true LIBS_save="${LIBS}"LIBS="${LIBS} -lbsd"have_lib=""if test -z "$ac_echo_n" ; thenac_echo_n=yesif (echo "testing\c"; echo 1,2,3) | grep c >/dev/null; then # Stardent Vistra SVR4 grep lacks -e, says ghazi@caip.rutgers.edu. if (echo -n testing; echo 1,2,3) | sed s/-n/xn/ | grep xn >/dev/null; then ac_n= ac_c='' ac_t=' ' else ac_n=-n ac_c= ac_t= fielse ac_n= ac_c='\c' ac_t=fiac_echo_test=`echo foo 1>&1`if test -z "$ac_echo_test" ; then print_error "Your sh shell does not handle the output redirection" print_error "1>&1 correctly. Configure will work around this problem," print_error "but you should report the problem to your vendor."fifiif test -z "$ac_echo_test" -a 1 = 1 ; thenecho $ac_n "checking for -lbsd""... $ac_c"elseecho $ac_n "checking for -lbsd""... $ac_c" 1>&1fiif test ! -f confdefs.h ; then if test -z "$ac_echo_test" -a 1 = 1 ; thenecho "$ac_t"""!! SHELL ERROR !!""elseecho "$ac_t"""!! SHELL ERROR !!"" 1>&1fi echo "The file confdefs.h created by configure has been removed" echo "This may be a problem with your shell; some versions of LINUX" echo "have this problem. See the Installation guide for more" echo "information." exit 1ficat > conftest.c <<EOF#include "confdefs.h"
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -