+dnl
+dnl Handle --enable-oldsylefscript
+dnl
+AC_ARG_ENABLE([oldstylefscript],
+[ --enable-oldstylefscript enable old style F script (no arguments)],
+if test "$enableval" = "yes"
+then
+ AC_DEFINE(OLD_STYLE_FSCRIPT)
+fi
+,
+echo "Using new style F script"
+)
+
+dnl
+dnl Handle --enable-largefile
+dnl
+AC_ARG_ENABLE([largefile],
+[ --enable-largefile enable Large File System support (your glibc needs to support it)],
+if test "$enableval" = "yes"
+then
+ AC_DEFINE(_FILE_OFFSET_BITS,64)
+fi
+,
+echo "Not enabling Large File System support"
+)
+