-AC_PROG_CXX()
-
-
-AC_SUBST([REMAKE], [./remake$EXE])
-if test ! -x "$REMAKE" -o "$REMAKE" -ot remake.cpp; then
-AC_MSG_NOTICE([creating $REMAKE])
-case $(uname -s) in
-MINGW*)
- $CXX -Wall -O2 -o remake.exe remake.cpp -lws2_32
- if test $? != 0; then AC_MSG_FAILURE([failed]); fi
- ;;
-*)
- $CXX -Wall -O2 -o remake remake.cpp
- if test $? != 0; then AC_MSG_FAILURE([failed]); fi
- ;;
-esac
-else
-AC_MSG_NOTICE([$REMAKE exists, not rebuilding])
-fi
-