Home | History | Annotate | Download | only in zlib

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
51 test -n "${CROSS_PREFIX}" && echo Using ${AR} | tee -a configure.log
54 test -n "${CROSS_PREFIX}" && echo Using ${AR} | tee -a configure.log
59 test -n "${CROSS_PREFIX}" && echo Using ${RANLIB} | tee -a configure.log
65 test -n "${CROSS_PREFIX}" && echo Using ${NM} | tee -a configure.log
99 echo "** $0 aborting." | tee -a configure.log
102 echo -------------------- >> configure.log
103 echo >> configure.log
104 echo >> configure.log
113 echo 'usage:' | tee -a configure.log
114 echo ' configure [--const] [--zprefix] [--prefix=PREFIX] [--eprefix=EXPREFIX]' | tee -a configure.log
115 echo ' [--static] [--64] [--libdir=LIBDIR] [--sharedlibdir=LIBDIR]' | tee -a configure.log
116 echo ' [--includedir=INCLUDEDIR] [--archs="-arch i386 -arch x86_64"]' | tee -a configure.log
135 --sysconfdir=*) echo "ignored option: --sysconfdir" | tee -a configure.log; shift ;;
136 --localstatedir=*) echo "ignored option: --localstatedir" | tee -a configure.log; shift ;;
141 echo "unknown option: $1" | tee -a configure.log
142 echo "$0 --help for help" | tee -a configure.log
155 echo === $test.c === >> configure.log
156 cat $test.c >> configure.log
157 echo === >> configure.log;;
159 echo $* >> configure.log
168 test -z "$CC" && echo Checking for ${CROSS_PREFIX}gcc... | tee -a configure.log
171 # to force the asm version use: CFLAGS="-O3 -DASMV" ./configure
182 if test "$gcc" -eq 1 && ($cc -c $test.c) >> configure.log 2>&1; then
183 echo ... using gcc >> configure.log
220 echo "Please use win32/Makefile.gcc instead." | tee -a configure.log
256 echo ... using $CC >> configure.log
352 echo >> configure.log
363 test "`( $* ) 2>&1 | tee -a configure.log`" = ""
365 echo - using any output from compiler to indicate an error >> configure.log
370 ( $* ) >> configure.log 2>&1
373 echo "(exit code "$ret")" >> configure.log
384 printf %s "$got" >> configure.log
394 echo "Checking for obsessive-compulsive compiler options..." >> configure.log
398 echo "Compiler error reporting is too harsh for $0 (perhaps remove -Werror)." | tee -a configure.log
402 echo >> configure.log
410 echo Checking for shared library support... | tee -a configure.log
414 echo Building shared library $SHAREDLIBV with $CC. | tee -a configure.log
416 echo No shared library support. | tee -a configure.log
419 echo 'No shared library support; try without defining CC and CFLAGS' | tee -a configure.log
430 echo Building static library $STATICLIB version $VER with $CC. | tee -a configure.log
440 echo >> configure.log
442 if test "`$NM $test.o | grep _hello | tee -a configure.log`" = ""; then
444 echo Checking for underline in external names... No. | tee -a configure.log
446 echo Checking for underline in external names... Yes. | tee -a configure.log
450 echo >> configure.log
459 echo "Checking for size_t... Yes." | tee -a configure.log
462 echo "Checking for size_t... No." | tee -a configure.log
466 echo >> configure.log
474 echo "Checking for long long... Yes." | tee -a configure.log
485 echo "Checking for long long... No." | tee -a configure.log
497 echo "Checking for a pointer-size integer type..." $sizet"." | tee -a configure.log
499 echo "Failed to find a pointer-size integer type." | tee -a configure.log
509 echo >> configure.log
521 echo "Checking for off64_t... Yes." | tee -a configure.log
522 echo "Checking for fseeko... Yes." | tee -a configure.log
524 echo "Checking for off64_t... No." | tee -a configure.log
525 echo >> configure.log
534 echo "Checking for fseeko... Yes." | tee -a configure.log
538 echo "Checking for fseeko... No." | tee -a configure.log
542 echo >> configure.log
551 echo "Checking for strerror... Yes." | tee -a configure.log
555 echo "Checking for strerror... No." | tee -a configure.log
561 echo >> configure.log
571 echo "Checking for unistd.h... Yes." | tee -a configure.log
573 echo "Checking for unistd.h... No." | tee -a configure.log
576 echo >> configure.log
586 echo "Checking for stdarg.h... Yes." | tee -a configure.log
588 echo "Checking for stdarg.h... No." | tee -a configure.log
595 echo >> configure.log
596 echo "Using z_ prefix on all symbols." | tee -a configure.log
618 echo >> configure.log
637 echo "Checking whether to use vs[n]printf() or s[n]printf()... using vs[n]printf()." | tee -a configure.log
639 echo >> configure.log
658 echo "Checking for vsnprintf() in stdio.h... Yes." | tee -a configure.log
660 echo >> configure.log
681 echo "Checking for return value of vsnprintf()... Yes." | tee -a configure.log
685 echo "Checking for return value of vsnprintf()... No." | tee -a configure.log
686 echo " WARNING: apparently vsnprintf() does not return a value. zlib" | tee -a configure.log
687 echo " can build but will be open to possible string-format security" | tee -a configure.log
688 echo " vulnerabilities." | tee -a configure.log
693 echo "Checking for vsnprintf() in stdio.h... No." | tee -a configure.log
694 echo " WARNING: vsnprintf() not found, falling back to vsprintf(). zlib" | tee -a configure.log
695 echo " can build but will be open to possible buffer-overflow security" | tee -a configure.log
696 echo " vulnerabilities." | tee -a configure.log
698 echo >> configure.log
719 echo "Checking for return value of vsprintf()... Yes." | tee -a configure.log
723 echo "Checking for return value of vsprintf()... No." | tee -a configure.log
724 echo " WARNING: apparently vsprintf() does not return a value. zlib" | tee -a configure.log
725 echo " can build but will be open to possible string-format security" | tee -a configure.log
726 echo " vulnerabilities." | tee -a configure.log
730 echo "Checking whether to use vs[n]printf() or s[n]printf()... using s[n]printf()." | tee -a configure.log
732 echo >> configure.log
748 echo "Checking for snprintf() in stdio.h... Yes." | tee -a configure.log
750 echo >> configure.log
765 echo "Checking for return value of snprintf()... Yes." | tee -a configure.log
769 echo "Checking for return value of snprintf()... No." | tee -a configure.log
770 echo " WARNING: apparently snprintf() does not return a value. zlib" | tee -a configure.log
771 echo " can build but will be open to possible string-format security" | tee -a configure.log
772 echo " vulnerabilities." | tee -a configure.log
777 echo "Checking for snprintf() in stdio.h... No." | tee -a configure.log
778 echo " WARNING: snprintf() not found, falling back to sprintf(). zlib" | tee -a configure.log
779 echo " can build but will be open to possible buffer-overflow security" | tee -a configure.log
780 echo " vulnerabilities." | tee -a configure.log
782 echo >> configure.log
797 echo "Checking for return value of sprintf()... Yes." | tee -a configure.log
801 echo "Checking for return value of sprintf()... No." | tee -a configure.log
802 echo " WARNING: apparently sprintf() does not return a value. zlib" | tee -a configure.log
803 echo " can build but will be open to possible string-format security" | tee -a configure.log
804 echo " vulnerabilities." | tee -a configure.log
811 echo >> configure.log
823 echo "Checking for attribute(visibility) support... Yes." | tee -a configure.log
825 echo "Checking for attribute(visibility) support... No." | tee -a configure.log
830 echo >> configure.log
831 echo ALL = $ALL >> configure.log
832 echo AR = $AR >> configure.log
833 echo ARFLAGS = $ARFLAGS >> configure.log
834 echo CC = $CC >> configure.log
835 echo CFLAGS = $CFLAGS >> configure.log
836 echo CPP = $CPP >> configure.log
837 echo EXE = $EXE >> configure.log
838 echo LDCONFIG = $LDCONFIG >> configure.log
839 echo LDFLAGS = $LDFLAGS >> configure.log
840 echo LDSHARED = $LDSHARED >> configure.log
841 echo LDSHAREDLIBC = $LDSHAREDLIBC >> configure.log
842 echo OBJC = $OBJC >> configure.log
843 echo PIC_OBJC = $PIC_OBJC >> configure.log
844 echo RANLIB = $RANLIB >> configure.log
845 echo SFLAGS = $SFLAGS >> configure.log
846 echo SHAREDLIB = $SHAREDLIB >> configure.log
847 echo SHAREDLIBM = $SHAREDLIBM >> configure.log
848 echo SHAREDLIBV = $SHAREDLIBV >> configure.log
849 echo STATICLIB = $STATICLIB >> configure.log
850 echo TEST = $TEST >> configure.log
851 echo VER = $VER >> configure.log
852 echo Z_U4 = $Z_U4 >> configure.log
853 echo SRCDIR = $SRCDIR >> configure.log
854 echo exec_prefix = $exec_prefix >> configure.log
855 echo includedir = $includedir >> configure.log
856 echo libdir = $libdir >> configure.log
857 echo mandir = $mandir >> configure.log
858 echo prefix = $prefix >> configure.log
859 echo sharedlibdir = $sharedlibdir >> configure.log
860 echo uname = $uname >> configure.log
862 # udpate Makefile with the configure results
895 # create zlib.pc with the configure results