--- rpl/Attic/configure 2011/06/27 09:04:10 1.63 +++ rpl/Attic/configure 2011/06/27 13:14:27 1.64 @@ -778,6 +778,7 @@ ac_user_opts=' enable_option_checking enable_dependency_tracking with_x +with_32bits enable_optimization enable_sysv_semaphores enable_full_static @@ -1466,6 +1467,7 @@ Optional Packages: --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) --with-x use the X Window System + --with-32bits-abi force 32bits ABI (multilib) --with-mysql=PATH specify directory for installed mysql --with-postgresql=PATH specify directory for installed postgresql --with-bourne-shell=PATH specify path for OS/2 bourne shell @@ -5866,6 +5868,30 @@ if test "$ac_x_libraries" != "no"; then fi fi + +# Check whether --with-32bits was given. +if test "${with_32bits+set}" = set; then : + withval=$with_32bits; +if test "$with-32bits-abi" = "no"; then + CFLAGS= + FFLAGS= + CXXFLAGS= + FCFLAGS= +else + CFLAGS="$CFLAGS -m32" + FFLAGS="$FFLAGS -m32" + FCFLAGS="$FCFLAGS -m32" + +else + + CFLAGS="$CFLAGS -m32" + FFLAGS="$FFLAGS -m32" + FCFLAGS="$FCFLAGS -m32" + + +fi + + # Check whether --enable-optimization was given. if test "${enable_optimization+set}" = set; then : enableval=$enable_optimization;