Lines Matching refs:configure
2 # configure script for zlib.
4 # Normally configure builds both a static and a shared library.
5 # If you want to build just a static library, use: ./configure --static
8 # prefix=$HOME CC=cc CFLAGS="-O4" ./configure
10 # (setenv prefix $HOME; setenv CC cc; setenv CFLAGS "-O4"; ./configure)
16 # start off configure.log
17 echo -------------------- >> configure.log
18 echo $0 $* >> configure.log
19 date >> configure.log
53 test -n "${CROSS_PREFIX}" && echo Using ${AR} | tee -a configure.log
56 test -n "${CROSS_PREFIX}" && echo Using ${AR} | tee -a configure.log
61 test -n "${CROSS_PREFIX}" && echo Using ${RANLIB} | tee -a configure.log
67 test -n "${CROSS_PREFIX}" && echo Using ${NM} | tee -a configure.log
108 echo "** $0 aborting." | tee -a configure.log
111 echo -------------------- >> configure.log
112 echo >> configure.log
113 echo >> configure.log
122 echo 'usage:' | tee -a configure.log
123 echo ' configure [--const] [--zprefix] [--prefix=PREFIX] [--eprefix=EXPREFIX]' | tee -a configure.log
124 echo ' [--insecure] [--static] [--64] [--libdir=LIBDIR] [--sharedlibdir=LIBDIR]' | tee -a configure.log
125 echo ' [--includedir=INCLUDEDIR] [--mandir=MANDIR]' | tee -a configure.log
126 echo ' [--archs="-arch i386 -arch x86_64"] [--disable-crcvx]' | tee -a configure.log
150 --sysconfdir=*) echo "ignored option: --sysconfdir" | tee -a configure.log; shift ;;
151 --localstatedir=*) echo "ignored option: --localstatedir" | tee -a configure.log; shift ;;
161 *) unknown=1; echo "unknown option ignored: $1" | tee -a configure.log; shift;;
165 echo "$0 --help for help" | tee -a configure.log
176 echo === $test.c === >> configure.log
177 cat $test.c >> configure.log
178 echo === >> configure.log;;
180 echo $* >> configure.log
190 echo Checking for ${CROSS_PREFIX}gcc... | tee -a configure.log
245 if test "$gcc" -eq 1 && ($cc -c $test.c) >> configure.log 2>&1; then
246 echo ... using gcc >> configure.log
305 echo "If this doesn't work for you, try win32/Makefile.gcc." | tee -a configure.log
346 echo ... using $CC >> configure.log
447 echo >> configure.log
458 test "`( $* ) 2>&1 | tee -a configure.log`" = ""
460 echo - using any output from compiler to indicate an error >> configure.log
468 printf "%s\n" "$got" >> configure.log
471 echo "(exit code "$ret")" >> configure.log
483 printf "%s\n" "$got" >> configure.log
486 echo "(exit code "$ret")" >> configure.log
495 echo "Checking for compiler..." >> configure.log
499 echo "Missing or broken C compiler." | tee -a configure.log
502 echo "Checking for obsessive-compulsive compiler options..." >> configure.log
506 echo "Compiler error reporting is too harsh for $0 (perhaps remove -Werror)." | tee -a configure.log
510 echo >> configure.log
518 echo Checking for shared library support... | tee -a configure.log
522 echo Building shared library $SHAREDLIBV with $CC. | tee -a configure.log
524 echo No shared library support. | tee -a configure.log
527 echo 'No shared library support; try without defining CC and CFLAGS' | tee -a configure.log
538 echo Building static library $STATICLIB version $VER with $CC. | tee -a configure.log
544 echo >> configure.log
553 echo "Checking for size_t... Yes." | tee -a configure.log
555 echo "Checking for size_t... No." | tee -a configure.log
562 echo "Checking for long long... Yes." | tee -a configure.log
573 echo "Checking for long long... No." | tee -a configure.log
585 echo "Checking for a pointer-size integer type..." $sizet"." | tee -a configure.log
589 echo "Checking for a pointer-size integer type... not found." | tee -a configure.log
593 echo >> configure.log
605 echo "Checking for off64_t... Yes." | tee -a configure.log
606 echo "Checking for fseeko... Yes." | tee -a configure.log
608 echo "Checking for off64_t... No." | tee -a configure.log
609 echo >> configure.log
618 echo "Checking for fseeko... Yes." | tee -a configure.log
622 echo "Checking for fseeko... No." | tee -a configure.log
626 echo >> configure.log
635 echo "Checking for strerror... Yes." | tee -a configure.log
639 echo "Checking for strerror... No." | tee -a configure.log
645 echo >> configure.log
655 echo "Checking for unistd.h... Yes." | tee -a configure.log
657 echo "Checking for unistd.h... No." | tee -a configure.log
660 echo >> configure.log
670 echo "Checking for stdarg.h... Yes." | tee -a configure.log
672 echo "Checking for stdarg.h... No." | tee -a configure.log
679 echo >> configure.log
680 echo "Using z_ prefix on all symbols." | tee -a configure.log
701 echo >> configure.log
720 echo "Checking whether to use vs[n]printf() or s[n]printf()... using vs[n]printf()." | tee -a configure.log
722 echo >> configure.log
741 echo "Checking for vsnprintf() in stdio.h... Yes." | tee -a configure.log
743 echo >> configure.log
764 echo "Checking for return value of vsnprintf()... Yes." | tee -a configure.log
768 echo "Checking for return value of vsnprintf()... No." | tee -a configure.log
769 echo " WARNING: apparently vsnprintf() does not return a value. zlib" | tee -a configure.log
770 echo " can build but will be open to possible string-format security" | tee -a configure.log
771 echo " vulnerabilities." | tee -a configure.log
776 echo "Checking for vsnprintf() in stdio.h... No." | tee -a configure.log
777 echo " WARNING: vsnprintf() not found, falling back to vsprintf(). zlib" | tee -a configure.log
778 echo " can build but will be open to possible buffer-overflow security" | tee -a configure.log
779 echo " vulnerabilities." | tee -a configure.log
781 echo " The --insecure option must be provided to ./configure in order to" | tee -a configure.log
782 echo " compile using the insecure vsprintf() function." | tee -a configure.log
784 echo >> configure.log
805 echo "Checking for return value of vsprintf()... Yes." | tee -a configure.log
809 echo "Checking for return value of vsprintf()... No." | tee -a configure.log
810 echo " WARNING: apparently vsprintf() does not return a value. zlib" | tee -a configure.log
811 echo " can build but will be open to possible string-format security" | tee -a configure.log
812 echo " vulnerabilities." | tee -a configure.log
816 echo "Checking whether to use vs[n]printf() or s[n]printf()... using s[n]printf()." | tee -a configure.log
818 echo >> configure.log
834 echo "Checking for snprintf() in stdio.h... Yes." | tee -a configure.log
836 echo >> configure.log
851 echo "Checking for return value of snprintf()... Yes." | tee -a configure.log
855 echo "Checking for return value of snprintf()... No." | tee -a configure.log
856 echo " WARNING: apparently snprintf() does not return a value. zlib" | tee -a configure.log
857 echo " can build but will be open to possible string-format security" | tee -a configure.log
858 echo " vulnerabilities." | tee -a configure.log
863 echo "Checking for snprintf() in stdio.h... No." | tee -a configure.log
864 echo " WARNING: snprintf() not found, falling back to sprintf(). zlib" | tee -a configure.log
865 echo " can build but will be open to possible buffer-overflow security" | tee -a configure.log
866 echo " vulnerabilities." | tee -a configure.log
868 echo " The --insecure option must be provided to ./configure in order to" | tee -a configure.log
869 echo " compile using the insecure sprintf() function." | tee -a configure.log
871 echo >> configure.log
886 echo "Checking for return value of sprintf()... Yes." | tee -a configure.log
890 echo "Checking for return value of sprintf()... No." | tee -a configure.log
891 echo " WARNING: apparently sprintf() does not return a value. zlib" | tee -a configure.log
892 echo " can build but will be open to possible string-format security" | tee -a configure.log
893 echo " vulnerabilities." | tee -a configure.log
900 echo >> configure.log
912 echo "Checking for attribute(visibility) support... Yes." | tee -a configure.log
914 echo "Checking for attribute(visibility) support... No." | tee -a configure.log
926 echo "Checking for s390x build ... Yes." | tee -a configure.log
929 echo "Checking for s390x build ... No." | tee -a configure.log
958 echo "Checking for s390x vx vector extension ... Yes." | tee -a configure.log
962 echo "Checking for s390x vx vector extension (march=z13) ... Yes." | tee -a configure.log
967 echo "Checking for s390x vx vector extension ... No." | tee -a configure.log
983 echo >> configure.log
984 echo ALL = $ALL >> configure.log
985 echo AR = $AR >> configure.log
986 echo ARFLAGS = $ARFLAGS >> configure.log
987 echo CC = $CC >> configure.log
988 echo CFLAGS = $CFLAGS >> configure.log
989 echo CPP = $CPP >> configure.log
990 echo EXE = $EXE >> configure.log
991 echo LDCONFIG = $LDCONFIG >> configure.log
992 echo LDFLAGS = $LDFLAGS >> configure.log
993 echo LDSHARED = $LDSHARED >> configure.log
994 echo LDSHAREDLIBC = $LDSHAREDLIBC >> configure.log
995 echo OBJC = $OBJC >> configure.log
996 echo PIC_OBJC = $PIC_OBJC >> configure.log
997 echo RANLIB = $RANLIB >> configure.log
998 echo SFLAGS = $SFLAGS >> configure.log
999 echo SHAREDLIB = $SHAREDLIB >> configure.log
1000 echo SHAREDLIBM = $SHAREDLIBM >> configure.log
1001 echo SHAREDLIBV = $SHAREDLIBV >> configure.log
1002 echo STATICLIB = $STATICLIB >> configure.log
1003 echo TEST = $TEST >> configure.log
1004 echo VER = $VER >> configure.log
1005 echo SRCDIR = $SRCDIR >> configure.log
1006 echo exec_prefix = $exec_prefix >> configure.log
1007 echo includedir = $includedir >> configure.log
1008 echo libdir = $libdir >> configure.log
1009 echo mandir = $mandir >> configure.log
1010 echo prefix = $prefix >> configure.log
1011 echo sharedlibdir = $sharedlibdir >> configure.log
1012 echo uname = $uname >> configure.log
1013 echo HAVE_S390X = $HAVE_S390X >> configure.log
1014 echo HAVE_S390X_VX = $HAVE_S390X_VX >> configure.log
1015 echo VGFMAFLAG = $VGFMAFLAG >> configure.log
1017 # update Makefile with the configure results
1052 # create zlib.pc with the configure results