# These two variables are required, otherwise looking for # programs along the PATH will not work. PATH_SEPARATOR=: PATH_EXPAND=y PWD=`pwd.sh` # This is required in for "test -f foo" to find foo.exe export TEST_FINDS_EXE=y # Install programs INSTALL=${INSTALL:='/bin/install.exe -cp'} INSTALL_DATA=${INSTALL_DATA:='/bin/install.exe -cp'} INSTALL_PROGRAM=${INSTALL_PROGRAM:='/bin/install.exe -cp'} # Do not detect fork even if a stub is provided ac_cv_func_fork=no ac_cv_func_vfork=no ac_cv_func_fchdir=no # Detect socket functions ac_cv_func_gethostbyname=${ac_cv_func_gethostbyname:=yes} ac_cv_func_inet_ntoa=${ac_cv_func_inet_ntoa:=yes} ac_cv_func_gethostbyaddr=${ac_cv_func_gethostbyaddr:=yes} ac_cv_func_gethostname=${ac_cv_func_gethostname:=yes} ac_cv_func_connect=${ac_cv_func_connect:=yes} ac_cv_func_ftruncate=${ac_cv_func_ftruncate:=yes} #ac_cv_func_mkstemp=${ac_cv_func_mkstemp:=yes} ac_cv_var_tzname=${ac_cv_var_tzname:=yes} ac_cv_func_working_mktime=${ac_cv_func_working_mktime:=yes} ac_cv_have_decl_optarg=${ac_cv_have_decl_optarg:=yes} ac_cv_have_decl_optind=${ac_cv_have_decl_optind:=yes} ac_cv_sys_file_offset_bits=${ac_cv_sys_file_offset_bits:=64} ac_cv_sys_large_files=${ac_cv_sys_large_files:=1} ac_cv_sys_largefile_source=${ac_cv_sys_largefile_source:=1} enable_largefile=${enable_largefile:=yes} gl_cv_func_getcwd_null=${gl_cv_func_getcwd_null:=yes} gl_cv_func_chown_follows_symlink=${gl_cv_func_chown_follows_symlink:=yes} archive_cmds_need_lc=${archive_cmds_need_lc:=no} ac_cv_lib_c_main=${ac_cv_lib_c_main:=no} # These are set here so the generated libtool will be good # for every installation, not only the one where the # package was configured. NM=${NM='nm'} LD=${LD='ld'} # Force the test for 'ln -s' to report 'cp -fp'. ac_cv_prog_LN_S=${ac_cv_prog_LN_S:='cp -fp'} cl_cv_prog_LN=${cl_cv_prog_LN:='cp -fp'} cl_cv_prog_LN_S=${cl_cv_prog_LN_S:='cp -fp'} LN_S=${LN_S:='cp -fp'} LN=${LN:='cp -fp'} as_ln_s=${as_ln_s:='cp -fp'} ac_executable_extensions=${ac_executable_extensions:='.exe'} EXEEXT=${EXEEXT:='.exe'} EXE=${EXE:='.exe'} exeext=${exeext:='.exe'} CC=${CC:=gcc} CXX=${CXX:=g++} #HOST_CC=gcc if [ "$GLIBCINCDIR" != "" ]; then GLIBCINCL="-I$GLIBCINCDIR" fi GLIBCINCDIR=${GLIBCINCDIR=G:/WinX/include} #GLIBCINCDIR= GNUWIN32DIR=${GNUWIN32DIR=D:/Progra~1/GnuWin32} if [ "$GNUWIN32DIR" != "" ]; then GNUWIN32INCLDIR= # GNUWIN32INCLDIR="-IJ:/LibC/0.6/libc-0.6-src/include" # GNUWIN32INCLDIR="-idirafter $GNUWIN32DIR/include" GNUWIN32INCLDIR="-I$GNUWIN32DIR/include" # GNUWIN32INCLDIR= # GNUWIN32LIBDIR="-LJ:/LibC/0.6/libc-0.6/.libs" GNUWIN32LIBDIR="-L$GNUWIN32DIR/lib" GNUWIN32LIBS= # GNUWIN32LIBS=-lc # GNUWIN32LIBS="-lgw32c" else enable_nls=no fi #STDEFS=${STDEFS=-D__GW32__ -D_LARGEFILE_SOURCE=1 -D_LARGEFILE64_SOURCE=1 -D_FILE_OFFSET_BITS=64} STDEFS=${STDEFS=-D__USE_MINGW_ACCESS -D_LARGEFILE_SOURCE=1 -D_LARGEFILE64_SOURCE=1 -D_FILE_OFFSET_BITS=64 -DENABLE_RELOCATABLE -DINSTALLPREFIX=\\\"\$(prefix)\\\" -DINSTALLDIR=\\\"\$(bindir)\\\" -DEXEEXT=\\\"\$(EXEEXT)\\\" -DNO_XMALLOC } # -D__GTHREAD_HIDE_WIN32API DEFS=${DEFS= $STDEFS $DEFSPLUS } DEFINES=${DEFINES= $DEFS $DEFINESPLUS } STINCLUDES=${STINCLUDES= $GNUWIN32INCLDIR $GLIBCINCL } INCLUDES=${INCLUDES= $INCLUDESPLUS $STINCLUDES } STCFLAGS=${STCFLAGS=-Wall -Wpointer-arith -O3 \ -fms-extensions -mms-bitfields -fno-exceptions -fomit-frame-pointer -march=i386 -ffast-math } CFLAGS=${CFLAGS= $STCFLAGS -Wstrict-prototypes $CFLAGSPLUS } # -fnative-struct -pedantic CXXFLAGS=${CXXFLAGS= $STCFLAGS -fconserve-space -fno-rtti -D__STDC_LIMIT_MACROS $CXXFLAGSPLUS } CPPFLAGS=${CPPFLAGS= $DEFS $INCLUDES $CPPFLAGSPLUS } STLDFLAGS=${STLDFLAGS=-Wl,-s -Wl,--force-exe-suffix -Wl,--enable-auto-import -Wl,--enable-runtime-pseudo-reloc -Wl,--allow-multiple-definition -Wl,--enable-stdcall-fixup $GNUWIN32LIBDIR } LDFLAGS=${LDFLAGS= $STLDFLAGS $LDFLAGSPLUS } STLIBS=${STLIBS=$GNUWIN32LIBDIR $GNUWIN32LIBS -lintl -lwsock32 -lole32 -luuid -lmsvcp60 } # -liberty -lintl LIBS=${LIBS= -Wl,-s $LIBSPLUS $STLIBS } # host=${host:='i386-pc-mingw32'} build=${build:=$host} target=${target:=$host} host_alias=${host_alias:=$host} build_alias=${build_alias:=$build} target_alias=${target_alias:=$target} ac_cv_host=${ac_cv_host:=$host} ac_cv_build=${ac_cv_build:=$build} # The default values for transforming the program names cannot be the same # as the autoconf variables since these are set by configure before # config.site is read program_transform_name=${prog_transform_name:='s/i386-pc-mingw32//'} program_prefix=${prog_prefix:=''} program_suffix=${prog_suffix:=''} # the following lines should ensure that NLS is used # by means of separate libintl instead of # the libintl provided with the package with_included_gettext=${with_included_gettext:=no} without_included_gettext=${without_included_gettext:=yes} enable_nls=${enable_nls:=yes} nls_cv_use_gnu_gettext=${nls_cv_use_gnu_gettext:=no} USE_NLS=${USE_NLS:=yes} INTLDEPS=${INTLDEPS:=' '} INTLOBJS=${INTLOBJS:=' '} LIBINTL=${LIBINTL:=' -lintl '} LTLIBINTL=${LTLIBINTL:=' -lintl '} BUILD_INCLUDED_LIBINTL=${BUILD_INCLUDED_LIBINTL:=no} USE_INCLUDED_LIBINTL=${USE_INCLUDED_LIBINTL:=no} test "$prefix" = NONE && prefix=$PACKAGE_TARNAME prefix=${prefix:=c:/progra~1/GnuWin32}