Switch to unified view

a/src/configure.ac b/src/configure.ac
...
...
14
EOF
14
EOF
15
   exit 1
15
   exit 1
16
fi
16
fi
17
17
18
AC_CHECK_HEADERS(sys/mount.h sys/statfs.h sys/statvfs.h sys/vfs.h)
18
AC_CHECK_HEADERS(sys/mount.h sys/statfs.h sys/statvfs.h sys/vfs.h)
19
20
# Use specific 'file' command ? (Useful on solaris to specify
21
# /usr/local/bin/file instead of the system's which doesn't understand '-i'
22
AC_ARG_WITH(file-command, 
23
    AC_HELP_STRING([--with-file-command],
24
   [Specify version of 'file' command (ie: --with-file-command=/usr/local/bin/file)]),
25
        withFileCommand=$withval, withFileCommand=file)
26
case $withFileCommand in
27
  file)
28
    AC_PATH_PROG(fileProg, file);;
29
  *) 
30
    fileProg=$withFileCommand;;
31
esac
32
33
if test ! -x "$fileProg"; then
34
   AC_MSG_ERROR([$fileProg does not exist or is not executable])
35
fi
36
AC_DEFINE_UNQUOTED(FILE_PROG, "$fileProg", [Path to the file program])
37
38
# Can't use Solaris standard 'file' command, it doesn't support -i
39
if test X$sys != XSunOS -o X$fileProg != X/usr/bin/file; then
40
   AC_DEFINE(USE_SYSTEM_FILE_COMMAND)
41
fi
42
19
43
20
# Use aspell to provide spelling expansions ?
44
# Use aspell to provide spelling expansions ?
21
# The default is yes. If we do find an aspell installation, we use it. Else
45
# The default is yes. If we do find an aspell installation, we use it. Else
22
# we do compile the aspell module using an internal copy of aspell.h
46
# we do compile the aspell module using an internal copy of aspell.h
23
# Only --with-aspell=no will completely disable aspell support
47
# Only --with-aspell=no will completely disable aspell support