14 if [ -n "$target_m68k" ];then
15 test -n "$CC" || export CC="m68k-pic-coff-gcc"
16 test -n "$AR" || export AR="m68k-pic-coff-ar"
17 test -n "$AS" || export AS="m68k-pic-coff-as"
18 test -n "$CFLAGS" || export CFLAGS="-O2 -Wall -fPIC"
19 test -n "$CPPFLAGS" || export CPPFLAGS="-DUCCOMPAT=1 $CPPFLAGS"
20 test -n "$LDFLAGS" || export LDFLAGS="gnokii/cleanup.c"
21 if [ -n "$stackcheck" ];then
22 export CPPFLAGS="-DSTACKCHECK=$stackcheck $CPPFLAGS"
23 export CFLAGS="$CFLAGS -fno-omit-frame-pointer"
26 export CPPFLAGS="-DUCLINUX=1 $CPPFLAGS"
27 ./configure --with-cfg-model=5110 --with-cfg-port=/dev/"$cfg_port" --without-x \
28 `if [ -n "$enable_debug" ];then echo "--enable-debug --enable-xdebug";fi`