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
39 test -n "${CROSS_PREFIX}" && echo Using ${AR} | tee -a configure.log
42 test -n "${CROSS_PREFIX}" && echo Using ${AR} | tee -a configure.log
47 test -n "${CROSS_PREFIX}" && echo Using ${RANLIB} | tee -a configure.log
53 test -n "${CROSS_PREFIX}" && echo Using ${NM} | tee -a configure.log
85 echo "** $0 aborting." | tee -a configure.log
88 echo -------------------- >> configure.log
89 echo >> configure.log
90 echo >> configure.log
99 echo 'usage:' | tee -a configure.log
100 echo ' configure [--const] [--zprefix] [--prefix=PREFIX] [--eprefix=EXPREFIX]' | tee -a configure.log
101 echo ' [--static] [--64] [--libdir=LIBDIR] [--sharedlibdir=LIBDIR]' | tee -a configure.log
102 echo ' [--includedir=INCLUDEDIR] [--archs="-arch i386 -arch x86_64"]' | tee -a configure.log
121 --sysconfdir=*) echo "ignored option: --sysconfdir" | tee -a configure.log; shift ;;
122 --localstatedir=*) echo "ignored option: --localstatedir" | tee -a configure.log; shift ;;
125 echo "unknown option: $1" | tee -a configure.log
126 echo "$0 --help for help" | tee -a configure.log
139 echo === $test.c === >> configure.log
140 cat $test.c >> configure.log
141 echo === >> configure.log;;
143 echo $* >> configure.log
152 test -z "$CC" && echo Checking for ${CROSS_PREFIX}gcc... | tee -a configure.log
155 # to force the asm version use: CFLAGS="-O3 -DASMV" ./configure
165 if test "$gcc" -eq 1 && ($cc -c $test.c) >> configure.log 2>&1; then
166 echo ... using gcc >> configure.log
196 echo "Please use win32/Makefile.gcc instead." | tee -a configure.log
232 echo ... using $CC >> configure.log
325 echo >> configure.log
336 test "`( $* ) 2>&1 | tee -a configure.log`" = ""
338 echo - using any output from compiler to indicate an error >> configure.log
343 ( $* ) >> configure.log 2>&1
346 echo "(exit code "$ret")" >> configure.log
357 printf %s "$got" >> configure.log
367 echo "Checking for obsessive-compulsive compiler options..." >> configure.log
371 echo "Compiler error reporting is too harsh for $0 (perhaps remove -Werror)." | tee -a configure.log
375 echo >> configure.log
383 echo Checking for shared library support... | tee -a configure.log
387 echo Building shared library $SHAREDLIBV with $CC. | tee -a configure.log
389 echo No shared library support. | tee -a configure.log
392 echo 'No shared library support; try without defining CC and CFLAGS' | tee -a configure.log
403 echo Building static library $STATICLIB version $VER with $CC. | tee -a configure.log
413 echo >> configure.log
415 if test "`$NM $test.o | grep _hello | tee -a configure.log`" = ""; then
417 echo Checking for underline in external names... No. | tee -a configure.log
419 echo Checking for underline in external names... Yes. | tee -a configure.log
423 echo >> configure.log
435 echo "Checking for off64_t... Yes." | tee -a configure.log
436 echo "Checking for fseeko... Yes." | tee -a configure.log
438 echo "Checking for off64_t... No." | tee -a configure.log
439 echo >> configure.log
448 echo "Checking for fseeko... Yes." | tee -a configure.log
452 echo "Checking for fseeko... No." | tee -a configure.log
456 echo >> configure.log
465 echo "Checking for strerror... Yes." | tee -a configure.log
469 echo "Checking for strerror... No." | tee -a configure.log
475 echo >> configure.log
485 echo "Checking for unistd.h... Yes." | tee -a configure.log
487 echo "Checking for unistd.h... No." | tee -a configure.log
490 echo >> configure.log
500 echo "Checking for stdarg.h... Yes." | tee -a configure.log
502 echo "Checking for stdarg.h... No." | tee -a configure.log
509 echo >> configure.log
510 echo "Using z_ prefix on all symbols." | tee -a configure.log
532 echo >> configure.log
551 echo "Checking whether to use vs[n]printf() or s[n]printf()... using vs[n]printf()." | tee -a configure.log
553 echo >> configure.log
572 echo "Checking for vsnprintf() in stdio.h... Yes." | tee -a configure.log
574 echo >> configure.log
595 echo "Checking for return value of vsnprintf()... Yes." | tee -a configure.log
599 echo "Checking for return value of vsnprintf()... No." | tee -a configure.log
600 echo " WARNING: apparently vsnprintf() does not return a value. zlib" | tee -a configure.log
601 echo " can build but will be open to possible string-format security" | tee -a configure.log
602 echo " vulnerabilities." | tee -a configure.log
607 echo "Checking for vsnprintf() in stdio.h... No." | tee -a configure.log
608 echo " WARNING: vsnprintf() not found, falling back to vsprintf(). zlib" | tee -a configure.log
609 echo " can build but will be open to possible buffer-overflow security" | tee -a configure.log
610 echo " vulnerabilities." | tee -a configure.log
612 echo >> configure.log
633 echo "Checking for return value of vsprintf()... Yes." | tee -a configure.log
637 echo "Checking for return value of vsprintf()... No." | tee -a configure.log
638 echo " WARNING: apparently vsprintf() does not return a value. zlib" | tee -a configure.log
639 echo " can build but will be open to possible string-format security" | tee -a configure.log
640 echo " vulnerabilities." | tee -a configure.log
644 echo "Checking whether to use vs[n]printf() or s[n]printf()... using s[n]printf()." | tee -a configure.log
646 echo >> configure.log
662 echo "Checking for snprintf() in stdio.h... Yes." | tee -a configure.log
664 echo >> configure.log
679 echo "Checking for return value of snprintf()... Yes." | tee -a configure.log
683 echo "Checking for return value of snprintf()... No." | tee -a configure.log
684 echo " WARNING: apparently snprintf() does not return a value. zlib" | tee -a configure.log
685 echo " can build but will be open to possible string-format security" | tee -a configure.log
686 echo " vulnerabilities." | tee -a configure.log
691 echo "Checking for snprintf() in stdio.h... No." | tee -a configure.log
692 echo " WARNING: snprintf() not found, falling back to sprintf(). zlib" | tee -a configure.log
693 echo " can build but will be open to possible buffer-overflow security" | tee -a configure.log
694 echo " vulnerabilities." | tee -a configure.log
696 echo >> configure.log
711 echo "Checking for return value of sprintf()... Yes." | tee -a configure.log
715 echo "Checking for return value of sprintf()... No." | tee -a configure.log
716 echo " WARNING: apparently sprintf() does not return a value. zlib" | tee -a configure.log
717 echo " can build but will be open to possible string-format security" | tee -a configure.log
718 echo " vulnerabilities." | tee -a configure.log
725 echo >> configure.log
737 echo "Checking for attribute(visibility) support... Yes." | tee -a configure.log
739 echo "Checking for attribute(visibility) support... No." | tee -a configure.log
744 echo >> configure.log
745 echo ALL = $ALL >> configure.log
746 echo AR = $AR >> configure.log
747 echo ARFLAGS = $ARFLAGS >> configure.log
748 echo CC = $CC >> configure.log
749 echo CFLAGS = $CFLAGS >> configure.log
750 echo CPP = $CPP >> configure.log
751 echo EXE = $EXE >> configure.log
752 echo LDCONFIG = $LDCONFIG >> configure.log
753 echo LDFLAGS = $LDFLAGS >> configure.log
754 echo LDSHARED = $LDSHARED >> configure.log
755 echo LDSHAREDLIBC = $LDSHAREDLIBC >> configure.log
756 echo OBJC = $OBJC >> configure.log
757 echo PIC_OBJC = $PIC_OBJC >> configure.log
758 echo RANLIB = $RANLIB >> configure.log
759 echo SFLAGS = $SFLAGS >> configure.log
760 echo SHAREDLIB = $SHAREDLIB >> configure.log
761 echo SHAREDLIBM = $SHAREDLIBM >> configure.log
762 echo SHAREDLIBV = $SHAREDLIBV >> configure.log
763 echo STATICLIB = $STATICLIB >> configure.log
764 echo TEST = $TEST >> configure.log
765 echo VER = $VER >> configure.log
766 echo Z_U4 = $Z_U4 >> configure.log
767 echo exec_prefix = $exec_prefix >> configure.log
768 echo includedir = $includedir >> configure.log
769 echo libdir = $libdir >> configure.log
770 echo mandir = $mandir >> configure.log
771 echo prefix = $prefix >> configure.log
772 echo sharedlibdir = $sharedlibdir >> configure.log
773 echo uname = $uname >> configure.log
775 # udpate Makefile with the configure results
805 # create zlib.pc with the configure results