configure revision 1b33c96954667ba382fa595baf7b31290bfdd517
1b33c96954667ba382fa595baf7b31290bfdd517vboxsync# configure script for zlib.
1b33c96954667ba382fa595baf7b31290bfdd517vboxsync# Normally configure builds both a static and a shared library.
1b33c96954667ba382fa595baf7b31290bfdd517vboxsync# If you want to build just a static library, use: ./configure --static
1b33c96954667ba382fa595baf7b31290bfdd517vboxsync# To impose specific compiler or flags or install directory, use for example:
1b33c96954667ba382fa595baf7b31290bfdd517vboxsync# prefix=$HOME CC=cc CFLAGS="-O4" ./configure
1b33c96954667ba382fa595baf7b31290bfdd517vboxsync# or for csh/tcsh users:
1b33c96954667ba382fa595baf7b31290bfdd517vboxsync# (setenv prefix $HOME; setenv CC cc; setenv CFLAGS "-O4"; ./configure)
1b33c96954667ba382fa595baf7b31290bfdd517vboxsync# Incorrect settings of CC or CFLAGS may prevent creating a shared library.
1b33c96954667ba382fa595baf7b31290bfdd517vboxsync# If you have problems, try without defining CC and CFLAGS before reporting
1b33c96954667ba382fa595baf7b31290bfdd517vboxsyncecho -------------------- >> configure.log
1b33c96954667ba382fa595baf7b31290bfdd517vboxsyncif [ -n "${CHOST}" ]; then
1b33c96954667ba382fa595baf7b31290bfdd517vboxsync uname="`echo "${CHOST}" | sed -e 's/^[^-]*-\([^-]*\)$/\1/' -e 's/^[^-]*-[^-]*-\([^-]*\)$/\1/' -e 's/^[^-]*-[^-]*-\([^-]*\)-.*$/\1/'`"
1b33c96954667ba382fa595baf7b31290bfdd517vboxsyncVER=`sed -n -e '/VERSION "/s/.*"\(.*\)".*/\1/p' < zlib.h`
1b33c96954667ba382fa595baf7b31290bfdd517vboxsyncVER3=`sed -n -e '/VERSION "/s/.*"\([0-9]*\\.[0-9]*\\.[0-9]*\).*/\1/p' < zlib.h`
1b33c96954667ba382fa595baf7b31290bfdd517vboxsyncVER2=`sed -n -e '/VERSION "/s/.*"\([0-9]*\\.[0-9]*\)\\..*/\1/p' < zlib.h`
1b33c96954667ba382fa595baf7b31290bfdd517vboxsyncVER1=`sed -n -e '/VERSION "/s/.*"\([0-9]*\)\\..*/\1/p' < zlib.h`
1b33c96954667ba382fa595baf7b31290bfdd517vboxsyncif "${CROSS_PREFIX}ar" --version >/dev/null 2>/dev/null || test $? -lt 126; then
1b33c96954667ba382fa595baf7b31290bfdd517vboxsync test -n "${CROSS_PREFIX}" && echo Using ${AR} | tee -a configure.log
1b33c96954667ba382fa595baf7b31290bfdd517vboxsync test -n "${CROSS_PREFIX}" && echo Using ${AR} | tee -a configure.log
1b33c96954667ba382fa595baf7b31290bfdd517vboxsyncif "${CROSS_PREFIX}ranlib" --version >/dev/null 2>/dev/null || test $? -lt 126; then
1b33c96954667ba382fa595baf7b31290bfdd517vboxsync test -n "${CROSS_PREFIX}" && echo Using ${RANLIB} | tee -a configure.log
1b33c96954667ba382fa595baf7b31290bfdd517vboxsyncif "${CROSS_PREFIX}nm" --version >/dev/null 2>/dev/null || test $? -lt 126; then
1b33c96954667ba382fa595baf7b31290bfdd517vboxsync test -n "${CROSS_PREFIX}" && echo Using ${NM} | tee -a configure.log
1b33c96954667ba382fa595baf7b31290bfdd517vboxsync echo ' configure [--zprefix] [--prefix=PREFIX] [--eprefix=EXPREFIX]' | tee -a configure.log
1b33c96954667ba382fa595baf7b31290bfdd517vboxsync echo ' [--static] [--64] [--libdir=LIBDIR] [--sharedlibdir=LIBDIR]' | tee -a configure.log
1b33c96954667ba382fa595baf7b31290bfdd517vboxsync echo ' [--includedir=INCLUDEDIR] [--archs="-arch i386 -arch x86_64"]' | tee -a configure.log
1b33c96954667ba382fa595baf7b31290bfdd517vboxsync -p*=* | --prefix=*) prefix=`echo $1 | sed 's/.*=//'`; shift ;;
1b33c96954667ba382fa595baf7b31290bfdd517vboxsync -e*=* | --eprefix=*) exec_prefix=`echo $1 | sed 's/.*=//'`; shift ;;
1b33c96954667ba382fa595baf7b31290bfdd517vboxsync -l*=* | --libdir=*) libdir=`echo $1 | sed 's/.*=//'`; shift ;;
1b33c96954667ba382fa595baf7b31290bfdd517vboxsync --sharedlibdir=*) sharedlibdir=`echo $1 | sed 's/.*=//'`; shift ;;
1b33c96954667ba382fa595baf7b31290bfdd517vboxsync -i*=* | --includedir=*) includedir=`echo $1 | sed 's/.*=//'`;shift ;;
1b33c96954667ba382fa595baf7b31290bfdd517vboxsync -u*=* | --uname=*) uname=`echo $1 | sed 's/.*=//'`;shift ;;
1b33c96954667ba382fa595baf7b31290bfdd517vboxsync -i* | --includedir) includedir="$2"; shift; shift ;;
1b33c96954667ba382fa595baf7b31290bfdd517vboxsync -s* | --shared | --enable-shared) shared=1; shift ;;
1b33c96954667ba382fa595baf7b31290bfdd517vboxsync -a*=* | --archs=*) ARCHS=`echo $1 | sed 's/.*=//'`; shift ;;
1b33c96954667ba382fa595baf7b31290bfdd517vboxsync --sysconfdir=*) echo "ignored option: --sysconfdir" | tee -a configure.log; shift ;;
1b33c96954667ba382fa595baf7b31290bfdd517vboxsync --localstatedir=*) echo "ignored option: --localstatedir" | tee -a configure.log; shift ;;
1b33c96954667ba382fa595baf7b31290bfdd517vboxsync *) echo "unknown option: $1"; echo "$0 --help for help" | tee -a configure.log; exit 1 ;;
1b33c96954667ba382fa595baf7b31290bfdd517vboxsync echo === $test.c === >> configure.log
1b33c96954667ba382fa595baf7b31290bfdd517vboxsync#error error
1b33c96954667ba382fa595baf7b31290bfdd517vboxsync echo - using any output from compiler to indicate an error >> configure.log
1b33c96954667ba382fa595baf7b31290bfdd517vboxsync if test $ret -ne 0; then
1b33c96954667ba382fa595baf7b31290bfdd517vboxsyncextern int getchar();
1b33c96954667ba382fa595baf7b31290bfdd517vboxsyncint hello() {return getchar();}
1b33c96954667ba382fa595baf7b31290bfdd517vboxsynctest -z "$CC" && echo Checking for ${CROSS_PREFIX}gcc... | tee -a configure.log
1b33c96954667ba382fa595baf7b31290bfdd517vboxsync# to force the asm version use: CFLAGS="-O3 -DASMV" ./configure
1b33c96954667ba382fa595baf7b31290bfdd517vboxsyncif test "$gcc" -eq 1 && ($cc -c $cflags $test.c) >> configure.log 2>&1; then
1b33c96954667ba382fa595baf7b31290bfdd517vboxsync if test -z "$uname"; then
1b33c96954667ba382fa595baf7b31290bfdd517vboxsync LDSHARED=${LDSHARED-"$cc -shared -Wl,-soname,libz.so.1,--version-script,zlib.map"} ;;
1b33c96954667ba382fa595baf7b31290bfdd517vboxsync LDSHARED=${LDSHARED-"$cc -shared -Wl,-soname,libz.so.1,--version-script,zlib.map"}
1b33c96954667ba382fa595baf7b31290bfdd517vboxsync# temporary bypass
1b33c96954667ba382fa595baf7b31290bfdd517vboxsync echo "Please use win32/Makefile.gcc instead." | tee -a configure.log
1b33c96954667ba382fa595baf7b31290bfdd517vboxsync QNX*) # This is for QNX6. I suppose that the QNX rule below is for QNX2,QNX4
1b33c96954667ba382fa595baf7b31290bfdd517vboxsync # (alain.bonnefoy@icbt.com)
1b33c96954667ba382fa595baf7b31290bfdd517vboxsync LDSHARED=${LDSHARED-"$cc -shared -Wl,-hlibz.so.1"} ;;
1b33c96954667ba382fa595baf7b31290bfdd517vboxsync LDSHARED=${LDSHARED-"$cc -dynamiclib -install_name $libdir/$SHAREDLIBM -compatibility_version $VER1 -current_version $VER3"}
1b33c96954667ba382fa595baf7b31290bfdd517vboxsync # find system name and corresponding cc options
1b33c96954667ba382fa595baf7b31290bfdd517vboxsync if test -z "$uname"; then
1b33c96954667ba382fa595baf7b31290bfdd517vboxsync# LDSHARED=${LDSHARED-"ld -b +vnocompatwarnings"}
1b33c96954667ba382fa595baf7b31290bfdd517vboxsync LDSHARED=${LDSHARED-"cc -shared -Wl,-soname,libz.so.1"} ;;
1b33c96954667ba382fa595baf7b31290bfdd517vboxsync LDSHARED=${LDSHARED-"cc -shared -Wl,-soname,libz.so -Wl,-msym -Wl,-rpath,$(libdir) -Wl,-set_version,${VER}:1.0"} ;;
1b33c96954667ba382fa595baf7b31290bfdd517vboxsync LDSHARED=${LDSHARED-"cc -shared -Wl,-soname,libz.so.1"} ;;
1b33c96954667ba382fa595baf7b31290bfdd517vboxsync SunStudio\ 9*) SFLAGS=${CFLAGS-"-fast -xcode=pic32 -xtarget=ultra3 -xarch=v9b"}
1b33c96954667ba382fa595baf7b31290bfdd517vboxsync CFLAGS=${CFLAGS-"-fast -xtarget=ultra3 -xarch=v9b"}
1b33c96954667ba382fa595baf7b31290bfdd517vboxsync # send working options for other systems to zlib@gzip.org
1b33c96954667ba382fa595baf7b31290bfdd517vboxsync echo Checking for shared library support... | tee -a configure.log
1b33c96954667ba382fa595baf7b31290bfdd517vboxsync # we must test in two steps (cc then ld), required at least on SunOS 4.x
1b33c96954667ba382fa595baf7b31290bfdd517vboxsync try $LDSHARED $SFLAGS -o $test$shared_ext $test.o; then
1b33c96954667ba382fa595baf7b31290bfdd517vboxsync echo Building shared library $SHAREDLIBV with $CC. | tee -a configure.log
1b33c96954667ba382fa595baf7b31290bfdd517vboxsync echo No shared library support. | tee -a configure.log
1b33c96954667ba382fa595baf7b31290bfdd517vboxsync echo 'No shared library support; try without defining CC and CFLAGS' | tee -a configure.log
1b33c96954667ba382fa595baf7b31290bfdd517vboxsync echo Building static library $STATICLIB version $VER with $CC. | tee -a configure.log
1b33c96954667ba382fa595baf7b31290bfdd517vboxsync if test "`$NM $test.o | grep _hello | tee -a configure.log`" = ""; then
1b33c96954667ba382fa595baf7b31290bfdd517vboxsync echo Checking for underline in external names... No. | tee -a configure.log
1b33c96954667ba382fa595baf7b31290bfdd517vboxsync echo Checking for underline in external names... Yes. | tee -a configure.log
1b33c96954667ba382fa595baf7b31290bfdd517vboxsync#include <sys/types.h>
1b33c96954667ba382fa595baf7b31290bfdd517vboxsyncoff64_t dummy = 0;
1b33c96954667ba382fa595baf7b31290bfdd517vboxsyncif try $CC -c $CFLAGS -D_LARGEFILE64_SOURCE=1 $test.c; then
1b33c96954667ba382fa595baf7b31290bfdd517vboxsync echo "Checking for off64_t... Yes." | tee -a configure.log
1b33c96954667ba382fa595baf7b31290bfdd517vboxsync echo "Checking for fseeko... Yes." | tee -a configure.log
1b33c96954667ba382fa595baf7b31290bfdd517vboxsync echo "Checking for off64_t... No." | tee -a configure.log
1b33c96954667ba382fa595baf7b31290bfdd517vboxsync#include <stdio.h>
1b33c96954667ba382fa595baf7b31290bfdd517vboxsyncint main(void) {
1b33c96954667ba382fa595baf7b31290bfdd517vboxsync fseeko(NULL, 0, 0);
1b33c96954667ba382fa595baf7b31290bfdd517vboxsync echo "Checking for fseeko... Yes." | tee -a configure.log
1b33c96954667ba382fa595baf7b31290bfdd517vboxsync echo "Checking for fseeko... No." | tee -a configure.log
1b33c96954667ba382fa595baf7b31290bfdd517vboxsync#include <unistd.h>
1b33c96954667ba382fa595baf7b31290bfdd517vboxsyncint main() { return 0; }
1b33c96954667ba382fa595baf7b31290bfdd517vboxsync sed < zconf.h "/^#ifdef HAVE_UNISTD_H.* may be/s/def HAVE_UNISTD_H\(.*\) may be/ 1\1 was/" > zconf.temp.h
1b33c96954667ba382fa595baf7b31290bfdd517vboxsync echo "Checking for unistd.h... Yes." | tee -a configure.log
1b33c96954667ba382fa595baf7b31290bfdd517vboxsync echo "Checking for unistd.h... No." | tee -a configure.log
1b33c96954667ba382fa595baf7b31290bfdd517vboxsync#include <stdarg.h>
1b33c96954667ba382fa595baf7b31290bfdd517vboxsyncint main() { return 0; }
1b33c96954667ba382fa595baf7b31290bfdd517vboxsync sed < zconf.h "/^#ifdef HAVE_STDARG_H.* may be/s/def HAVE_STDARG_H\(.*\) may be/ 1\1 was/" > zconf.temp.h
1b33c96954667ba382fa595baf7b31290bfdd517vboxsync echo "Checking for stdarg.h... Yes." | tee -a configure.log
1b33c96954667ba382fa595baf7b31290bfdd517vboxsync echo "Checking for stdarg.h... No." | tee -a configure.log
1b33c96954667ba382fa595baf7b31290bfdd517vboxsync sed < zconf.h "/#ifdef Z_PREFIX.* may be/s/def Z_PREFIX\(.*\) may be/ 1\1 was/" > zconf.temp.h
1b33c96954667ba382fa595baf7b31290bfdd517vboxsync echo "Using z_ prefix on all symbols." | tee -a configure.log
1b33c96954667ba382fa595baf7b31290bfdd517vboxsync#define Z_SOLO
1b33c96954667ba382fa595baf7b31290bfdd517vboxsync#include <stdio.h>
1b33c96954667ba382fa595baf7b31290bfdd517vboxsync#include <stdarg.h>
1b33c96954667ba382fa595baf7b31290bfdd517vboxsync#include "zconf.h"
1b33c96954667ba382fa595baf7b31290bfdd517vboxsync#ifndef STDC
1b33c96954667ba382fa595baf7b31290bfdd517vboxsync echo "Checking whether to use vs[n]printf() or s[n]printf()... using vs[n]printf()." | tee -a configure.log
1b33c96954667ba382fa595baf7b31290bfdd517vboxsync#include <stdio.h>
1b33c96954667ba382fa595baf7b31290bfdd517vboxsync#include <stdarg.h>
1b33c96954667ba382fa595baf7b31290bfdd517vboxsyncint mytest(const char *fmt, ...)
1b33c96954667ba382fa595baf7b31290bfdd517vboxsync char buf[20];
1b33c96954667ba382fa595baf7b31290bfdd517vboxsync va_list ap;
1b33c96954667ba382fa595baf7b31290bfdd517vboxsync va_start(ap, fmt);
1b33c96954667ba382fa595baf7b31290bfdd517vboxsync vsnprintf(buf, sizeof(buf), fmt, ap);
1b33c96954667ba382fa595baf7b31290bfdd517vboxsync va_end(ap);
1b33c96954667ba382fa595baf7b31290bfdd517vboxsync return (mytest("Hello%d\n", 1));
1b33c96954667ba382fa595baf7b31290bfdd517vboxsync echo "Checking for vsnprintf() in stdio.h... Yes." | tee -a configure.log
1b33c96954667ba382fa595baf7b31290bfdd517vboxsync#include <stdio.h>
1b33c96954667ba382fa595baf7b31290bfdd517vboxsync#include <stdarg.h>
1b33c96954667ba382fa595baf7b31290bfdd517vboxsyncint mytest(const char *fmt, ...)
1b33c96954667ba382fa595baf7b31290bfdd517vboxsync char buf[20];
1b33c96954667ba382fa595baf7b31290bfdd517vboxsync va_list ap;
1b33c96954667ba382fa595baf7b31290bfdd517vboxsync va_start(ap, fmt);
1b33c96954667ba382fa595baf7b31290bfdd517vboxsync n = vsnprintf(buf, sizeof(buf), fmt, ap);
1b33c96954667ba382fa595baf7b31290bfdd517vboxsync va_end(ap);
1b33c96954667ba382fa595baf7b31290bfdd517vboxsync return (mytest("Hello%d\n", 1));
1b33c96954667ba382fa595baf7b31290bfdd517vboxsync echo "Checking for return value of vsnprintf()... Yes." | tee -a configure.log
1b33c96954667ba382fa595baf7b31290bfdd517vboxsync echo "Checking for return value of vsnprintf()... No." | tee -a configure.log
1b33c96954667ba382fa595baf7b31290bfdd517vboxsync echo " WARNING: apparently vsnprintf() does not return a value. zlib" | tee -a configure.log
1b33c96954667ba382fa595baf7b31290bfdd517vboxsync echo " can build but will be open to possible string-format security" | tee -a configure.log
1b33c96954667ba382fa595baf7b31290bfdd517vboxsync echo "Checking for vsnprintf() in stdio.h... No." | tee -a configure.log
1b33c96954667ba382fa595baf7b31290bfdd517vboxsync echo " WARNING: vsnprintf() not found, falling back to vsprintf(). zlib" | tee -a configure.log
1b33c96954667ba382fa595baf7b31290bfdd517vboxsync echo " can build but will be open to possible buffer-overflow security" | tee -a configure.log
1b33c96954667ba382fa595baf7b31290bfdd517vboxsync#include <stdio.h>
1b33c96954667ba382fa595baf7b31290bfdd517vboxsync#include <stdarg.h>
1b33c96954667ba382fa595baf7b31290bfdd517vboxsyncint mytest(const char *fmt, ...)
1b33c96954667ba382fa595baf7b31290bfdd517vboxsync char buf[20];
1b33c96954667ba382fa595baf7b31290bfdd517vboxsync va_list ap;
1b33c96954667ba382fa595baf7b31290bfdd517vboxsync va_start(ap, fmt);
1b33c96954667ba382fa595baf7b31290bfdd517vboxsync n = vsprintf(buf, fmt, ap);
1b33c96954667ba382fa595baf7b31290bfdd517vboxsync va_end(ap);
1b33c96954667ba382fa595baf7b31290bfdd517vboxsync return (mytest("Hello%d\n", 1));
1b33c96954667ba382fa595baf7b31290bfdd517vboxsync echo "Checking for return value of vsprintf()... Yes." | tee -a configure.log
1b33c96954667ba382fa595baf7b31290bfdd517vboxsync echo "Checking for return value of vsprintf()... No." | tee -a configure.log
1b33c96954667ba382fa595baf7b31290bfdd517vboxsync echo " WARNING: apparently vsprintf() does not return a value. zlib" | tee -a configure.log
1b33c96954667ba382fa595baf7b31290bfdd517vboxsync echo " can build but will be open to possible string-format security" | tee -a configure.log
1b33c96954667ba382fa595baf7b31290bfdd517vboxsync echo "Checking whether to use vs[n]printf() or s[n]printf()... using s[n]printf()." | tee -a configure.log
1b33c96954667ba382fa595baf7b31290bfdd517vboxsync#include <stdio.h>
1b33c96954667ba382fa595baf7b31290bfdd517vboxsyncint mytest()
1b33c96954667ba382fa595baf7b31290bfdd517vboxsync char buf[20];
1b33c96954667ba382fa595baf7b31290bfdd517vboxsync snprintf(buf, sizeof(buf), "%s", "foo");
1b33c96954667ba382fa595baf7b31290bfdd517vboxsync return (mytest());
1b33c96954667ba382fa595baf7b31290bfdd517vboxsync echo "Checking for snprintf() in stdio.h... Yes." | tee -a configure.log
1b33c96954667ba382fa595baf7b31290bfdd517vboxsync#include <stdio.h>
1b33c96954667ba382fa595baf7b31290bfdd517vboxsyncint mytest()
1b33c96954667ba382fa595baf7b31290bfdd517vboxsync char buf[20];
1b33c96954667ba382fa595baf7b31290bfdd517vboxsync return snprintf(buf, sizeof(buf), "%s", "foo");
1b33c96954667ba382fa595baf7b31290bfdd517vboxsync return (mytest());
1b33c96954667ba382fa595baf7b31290bfdd517vboxsync echo "Checking for return value of snprintf()... Yes." | tee -a configure.log
1b33c96954667ba382fa595baf7b31290bfdd517vboxsync echo "Checking for return value of snprintf()... No." | tee -a configure.log
1b33c96954667ba382fa595baf7b31290bfdd517vboxsync echo " WARNING: apparently snprintf() does not return a value. zlib" | tee -a configure.log
1b33c96954667ba382fa595baf7b31290bfdd517vboxsync echo " can build but will be open to possible string-format security" | tee -a configure.log
1b33c96954667ba382fa595baf7b31290bfdd517vboxsync echo "Checking for snprintf() in stdio.h... No." | tee -a configure.log
1b33c96954667ba382fa595baf7b31290bfdd517vboxsync echo " WARNING: snprintf() not found, falling back to sprintf(). zlib" | tee -a configure.log
1b33c96954667ba382fa595baf7b31290bfdd517vboxsync echo " can build but will be open to possible buffer-overflow security" | tee -a configure.log
1b33c96954667ba382fa595baf7b31290bfdd517vboxsync#include <stdio.h>
1b33c96954667ba382fa595baf7b31290bfdd517vboxsyncint mytest()
1b33c96954667ba382fa595baf7b31290bfdd517vboxsync char buf[20];
1b33c96954667ba382fa595baf7b31290bfdd517vboxsync return sprintf(buf, "%s", "foo");
1b33c96954667ba382fa595baf7b31290bfdd517vboxsync return (mytest());
1b33c96954667ba382fa595baf7b31290bfdd517vboxsync echo "Checking for return value of sprintf()... Yes." | tee -a configure.log
1b33c96954667ba382fa595baf7b31290bfdd517vboxsync echo "Checking for return value of sprintf()... No." | tee -a configure.log
1b33c96954667ba382fa595baf7b31290bfdd517vboxsync echo " WARNING: apparently sprintf() does not return a value. zlib" | tee -a configure.log
1b33c96954667ba382fa595baf7b31290bfdd517vboxsync echo " can build but will be open to possible string-format security" | tee -a configure.log
1b33c96954667ba382fa595baf7b31290bfdd517vboxsync#if ((__GNUC__-0) * 10 + __GNUC_MINOR__-0 >= 33)
1b33c96954667ba382fa595baf7b31290bfdd517vboxsync# define ZLIB_INTERNAL __attribute__((visibility ("hidden")))
1b33c96954667ba382fa595baf7b31290bfdd517vboxsync# define ZLIB_INTERNAL
1b33c96954667ba382fa595baf7b31290bfdd517vboxsyncint ZLIB_INTERNAL foo;
1b33c96954667ba382fa595baf7b31290bfdd517vboxsync echo "Checking for attribute(visibility) support... Yes." | tee -a configure.log
1b33c96954667ba382fa595baf7b31290bfdd517vboxsync echo "Checking for attribute(visibility) support... No." | tee -a configure.log
1b33c96954667ba382fa595baf7b31290bfdd517vboxsync# show the results in the log
1b33c96954667ba382fa595baf7b31290bfdd517vboxsyncecho -------------------- >> configure.log
1b33c96954667ba382fa595baf7b31290bfdd517vboxsync# udpate Makefile
1b33c96954667ba382fa595baf7b31290bfdd517vboxsync/^CC *=/s#=.*#=$CC#
1b33c96954667ba382fa595baf7b31290bfdd517vboxsync/^CFLAGS *=/s#=.*#=$CFLAGS#
1b33c96954667ba382fa595baf7b31290bfdd517vboxsync/^SFLAGS *=/s#=.*#=$SFLAGS#
1b33c96954667ba382fa595baf7b31290bfdd517vboxsync/^LDFLAGS *=/s#=.*#=$LDFLAGS#
1b33c96954667ba382fa595baf7b31290bfdd517vboxsync/^LDSHARED *=/s#=.*#=$LDSHARED#
1b33c96954667ba382fa595baf7b31290bfdd517vboxsync/^CPP *=/s#=.*#=$CPP#
1b33c96954667ba382fa595baf7b31290bfdd517vboxsync/^STATICLIB *=/s#=.*#=$STATICLIB#
1b33c96954667ba382fa595baf7b31290bfdd517vboxsync/^SHAREDLIB *=/s#=.*#=$SHAREDLIB#
1b33c96954667ba382fa595baf7b31290bfdd517vboxsync/^SHAREDLIBV *=/s#=.*#=$SHAREDLIBV#
1b33c96954667ba382fa595baf7b31290bfdd517vboxsync/^SHAREDLIBM *=/s#=.*#=$SHAREDLIBM#
1b33c96954667ba382fa595baf7b31290bfdd517vboxsync/^AR *=/s#=.*#=$AR#
1b33c96954667ba382fa595baf7b31290bfdd517vboxsync/^ARFLAGS *=/s#=.*#=$ARFLAGS#
1b33c96954667ba382fa595baf7b31290bfdd517vboxsync/^RANLIB *=/s#=.*#=$RANLIB#
1b33c96954667ba382fa595baf7b31290bfdd517vboxsync/^LDCONFIG *=/s#=.*#=$LDCONFIG#
1b33c96954667ba382fa595baf7b31290bfdd517vboxsync/^LDSHAREDLIBC *=/s#=.*#=$LDSHAREDLIBC#
1b33c96954667ba382fa595baf7b31290bfdd517vboxsync/^EXE *=/s#=.*#=$EXE#
1b33c96954667ba382fa595baf7b31290bfdd517vboxsync/^prefix *=/s#=.*#=$prefix#
1b33c96954667ba382fa595baf7b31290bfdd517vboxsync/^exec_prefix *=/s#=.*#=$exec_prefix#
1b33c96954667ba382fa595baf7b31290bfdd517vboxsync/^libdir *=/s#=.*#=$libdir#
1b33c96954667ba382fa595baf7b31290bfdd517vboxsync/^sharedlibdir *=/s#=.*#=$sharedlibdir#
1b33c96954667ba382fa595baf7b31290bfdd517vboxsync/^includedir *=/s#=.*#=$includedir#
1b33c96954667ba382fa595baf7b31290bfdd517vboxsync/^mandir *=/s#=.*#=$mandir#
1b33c96954667ba382fa595baf7b31290bfdd517vboxsync/^OBJC *=/s#=.*#= $OBJC#
1b33c96954667ba382fa595baf7b31290bfdd517vboxsync/^PIC_OBJC *=/s#=.*#= $PIC_OBJC#
1b33c96954667ba382fa595baf7b31290bfdd517vboxsync/^all: */s#:.*#: $ALL#
1b33c96954667ba382fa595baf7b31290bfdd517vboxsync/^test: */s#:.*#: $TEST#
1b33c96954667ba382fa595baf7b31290bfdd517vboxsync/^CC *=/s#=.*#=$CC#
1b33c96954667ba382fa595baf7b31290bfdd517vboxsync/^CFLAGS *=/s#=.*#=$CFLAGS#
1b33c96954667ba382fa595baf7b31290bfdd517vboxsync/^CPP *=/s#=.*#=$CPP#
1b33c96954667ba382fa595baf7b31290bfdd517vboxsync/^LDSHARED *=/s#=.*#=$LDSHARED#
1b33c96954667ba382fa595baf7b31290bfdd517vboxsync/^STATICLIB *=/s#=.*#=$STATICLIB#
1b33c96954667ba382fa595baf7b31290bfdd517vboxsync/^SHAREDLIB *=/s#=.*#=$SHAREDLIB#
1b33c96954667ba382fa595baf7b31290bfdd517vboxsync/^SHAREDLIBV *=/s#=.*#=$SHAREDLIBV#
1b33c96954667ba382fa595baf7b31290bfdd517vboxsync/^SHAREDLIBM *=/s#=.*#=$SHAREDLIBM#
1b33c96954667ba382fa595baf7b31290bfdd517vboxsync/^AR *=/s#=.*#=$AR#
1b33c96954667ba382fa595baf7b31290bfdd517vboxsync/^ARFLAGS *=/s#=.*#=$ARFLAGS#
1b33c96954667ba382fa595baf7b31290bfdd517vboxsync/^RANLIB *=/s#=.*#=$RANLIB#
1b33c96954667ba382fa595baf7b31290bfdd517vboxsync/^EXE *=/s#=.*#=$EXE#
1b33c96954667ba382fa595baf7b31290bfdd517vboxsync/^prefix *=/s#=.*#=$prefix#
1b33c96954667ba382fa595baf7b31290bfdd517vboxsync/^exec_prefix *=/s#=.*#=$exec_prefix#
1b33c96954667ba382fa595baf7b31290bfdd517vboxsync/^libdir *=/s#=.*#=$libdir#
1b33c96954667ba382fa595baf7b31290bfdd517vboxsync/^sharedlibdir *=/s#=.*#=$sharedlibdir#
1b33c96954667ba382fa595baf7b31290bfdd517vboxsync/^includedir *=/s#=.*#=$includedir#
1b33c96954667ba382fa595baf7b31290bfdd517vboxsync/^mandir *=/s#=.*#=$mandir#
1b33c96954667ba382fa595baf7b31290bfdd517vboxsync/^LDFLAGS *=/s#=.*#=$LDFLAGS#
1b33c96954667ba382fa595baf7b31290bfdd517vboxsyncs/\@VERSION\@/$VER/g;