• Home
  • Raw
  • Download

Lines Matching full: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
100 echo "** $0 aborting." | tee -a configure.log
103 echo -------------------- >> configure.log
104 echo >> configure.log
105 echo >> configure.log
114 echo 'usage:' | tee -a configure.log
115 …echo ' configure [--const] [--zprefix] [--prefix=PREFIX] [--eprefix=EXPREFIX]' | tee -a configur…
116 echo ' [--static] [--64] [--libdir=LIBDIR] [--sharedlibdir=LIBDIR]' | tee -a configure.log
117 … echo ' [--includedir=INCLUDEDIR] [--archs="-arch i386 -arch x86_64"]' | tee -a configure.log
136 --sysconfdir=*) echo "ignored option: --sysconfdir" | tee -a configure.log; shift ;;
137 --localstatedir=*) echo "ignored option: --localstatedir" | tee -a configure.log; shift ;;
143 echo "unknown option: $1" | tee -a configure.log
144 echo "$0 --help for help" | tee -a configure.log
157 echo === $test.c === >> configure.log
158 cat $test.c >> configure.log
159 echo === >> configure.log;;
161 echo $* >> configure.log
171 echo Checking for ${CROSS_PREFIX}gcc... | tee -a configure.log
179 # to force the asm version use: CFLAGS="-O3 -DASMV" ./configure
190 if test "$gcc" -eq 1 && ($cc -c $test.c) >> configure.log 2>&1; then
191 echo ... using gcc >> configure.log
231 echo "Please use win32/Makefile.gcc instead." | tee -a configure.log
267 echo ... using $CC >> configure.log
363 echo >> configure.log
374 test "`( $* ) 2>&1 | tee -a configure.log`" = ""
376 echo - using any output from compiler to indicate an error >> configure.log
384 printf "%s\n" "$got" >> configure.log
387 echo "(exit code "$ret")" >> configure.log
399 printf "%s\n" "$got" >> configure.log
402 echo "(exit code "$ret")" >> configure.log
411 echo "Checking for obsessive-compulsive compiler options..." >> configure.log
415 …echo "Compiler error reporting is too harsh for $0 (perhaps remove -Werror)." | tee -a configure.l…
419 echo >> configure.log
427 echo Checking for shared library support... | tee -a configure.log
431 echo Building shared library $SHAREDLIBV with $CC. | tee -a configure.log
433 echo No shared library support. | tee -a configure.log
436 echo 'No shared library support; try without defining CC and CFLAGS' | tee -a configure.log
447 echo Building static library $STATICLIB version $VER with $CC. | tee -a configure.log
457 echo >> configure.log
459 if test "`$NM $test.o | grep _hello | tee -a configure.log`" = ""; then
461 echo Checking for underline in external names... No. | tee -a configure.log
463 echo Checking for underline in external names... Yes. | tee -a configure.log
467 echo >> configure.log
476 echo "Checking for size_t... Yes." | tee -a configure.log
478 echo "Checking for size_t... No." | tee -a configure.log
485 echo "Checking for long long... Yes." | tee -a configure.log
496 echo "Checking for long long... No." | tee -a configure.log
508 echo "Checking for a pointer-size integer type..." $sizet"." | tee -a configure.log
512 echo "Checking for a pointer-size integer type... not found." | tee -a configure.log
516 echo >> configure.log
528 echo "Checking for off64_t... Yes." | tee -a configure.log
529 echo "Checking for fseeko... Yes." | tee -a configure.log
531 echo "Checking for off64_t... No." | tee -a configure.log
532 echo >> configure.log
541 echo "Checking for fseeko... Yes." | tee -a configure.log
545 echo "Checking for fseeko... No." | tee -a configure.log
549 echo >> configure.log
558 echo "Checking for strerror... Yes." | tee -a configure.log
562 echo "Checking for strerror... No." | tee -a configure.log
568 echo >> configure.log
578 echo "Checking for unistd.h... Yes." | tee -a configure.log
580 echo "Checking for unistd.h... No." | tee -a configure.log
583 echo >> configure.log
593 echo "Checking for stdarg.h... Yes." | tee -a configure.log
595 echo "Checking for stdarg.h... No." | tee -a configure.log
602 echo >> configure.log
603 echo "Using z_ prefix on all symbols." | tee -a configure.log
625 echo >> configure.log
644 …ecking whether to use vs[n]printf() or s[n]printf()... using vs[n]printf()." | tee -a configure.log
646 echo >> configure.log
665 echo "Checking for vsnprintf() in stdio.h... Yes." | tee -a configure.log
667 echo >> configure.log
688 echo "Checking for return value of vsnprintf()... Yes." | tee -a configure.log
692 echo "Checking for return value of vsnprintf()... No." | tee -a configure.log
693 echo " WARNING: apparently vsnprintf() does not return a value. zlib" | tee -a configure.log
694 echo " can build but will be open to possible string-format security" | tee -a configure.log
695 echo " vulnerabilities." | tee -a configure.log
700 echo "Checking for vsnprintf() in stdio.h... No." | tee -a configure.log
701 echo " WARNING: vsnprintf() not found, falling back to vsprintf(). zlib" | tee -a configure.log
702 echo " can build but will be open to possible buffer-overflow security" | tee -a configure.log
703 echo " vulnerabilities." | tee -a configure.log
705 echo >> configure.log
726 echo "Checking for return value of vsprintf()... Yes." | tee -a configure.log
730 echo "Checking for return value of vsprintf()... No." | tee -a configure.log
731 echo " WARNING: apparently vsprintf() does not return a value. zlib" | tee -a configure.log
732 echo " can build but will be open to possible string-format security" | tee -a configure.log
733 echo " vulnerabilities." | tee -a configure.log
737 …hecking whether to use vs[n]printf() or s[n]printf()... using s[n]printf()." | tee -a configure.log
739 echo >> configure.log
755 echo "Checking for snprintf() in stdio.h... Yes." | tee -a configure.log
757 echo >> configure.log
772 echo "Checking for return value of snprintf()... Yes." | tee -a configure.log
776 echo "Checking for return value of snprintf()... No." | tee -a configure.log
777 echo " WARNING: apparently snprintf() does not return a value. zlib" | tee -a configure.log
778 echo " can build but will be open to possible string-format security" | tee -a configure.log
779 echo " vulnerabilities." | tee -a configure.log
784 echo "Checking for snprintf() in stdio.h... No." | tee -a configure.log
785 echo " WARNING: snprintf() not found, falling back to sprintf(). zlib" | tee -a configure.log
786 echo " can build but will be open to possible buffer-overflow security" | tee -a configure.log
787 echo " vulnerabilities." | tee -a configure.log
789 echo >> configure.log
804 echo "Checking for return value of sprintf()... Yes." | tee -a configure.log
808 echo "Checking for return value of sprintf()... No." | tee -a configure.log
809 echo " WARNING: apparently sprintf() does not return a value. zlib" | tee -a configure.log
810 echo " can build but will be open to possible string-format security" | tee -a configure.log
811 echo " vulnerabilities." | tee -a configure.log
818 echo >> configure.log
830 echo "Checking for attribute(visibility) support... Yes." | tee -a configure.log
832 echo "Checking for attribute(visibility) support... No." | tee -a configure.log
837 echo >> configure.log
838 echo ALL = $ALL >> configure.log
839 echo AR = $AR >> configure.log
840 echo ARFLAGS = $ARFLAGS >> configure.log
841 echo CC = $CC >> configure.log
842 echo CFLAGS = $CFLAGS >> configure.log
843 echo CPP = $CPP >> configure.log
844 echo EXE = $EXE >> configure.log
845 echo LDCONFIG = $LDCONFIG >> configure.log
846 echo LDFLAGS = $LDFLAGS >> configure.log
847 echo LDSHARED = $LDSHARED >> configure.log
848 echo LDSHAREDLIBC = $LDSHAREDLIBC >> configure.log
849 echo OBJC = $OBJC >> configure.log
850 echo PIC_OBJC = $PIC_OBJC >> configure.log
851 echo RANLIB = $RANLIB >> configure.log
852 echo SFLAGS = $SFLAGS >> configure.log
853 echo SHAREDLIB = $SHAREDLIB >> configure.log
854 echo SHAREDLIBM = $SHAREDLIBM >> configure.log
855 echo SHAREDLIBV = $SHAREDLIBV >> configure.log
856 echo STATICLIB = $STATICLIB >> configure.log
857 echo TEST = $TEST >> configure.log
858 echo VER = $VER >> configure.log
859 echo SRCDIR = $SRCDIR >> configure.log
860 echo exec_prefix = $exec_prefix >> configure.log
861 echo includedir = $includedir >> configure.log
862 echo libdir = $libdir >> configure.log
863 echo mandir = $mandir >> configure.log
864 echo prefix = $prefix >> configure.log
865 echo sharedlibdir = $sharedlibdir >> configure.log
866 echo uname = $uname >> configure.log
868 # udpate Makefile with the configure results
901 # create zlib.pc with the configure results