diff options
Diffstat (limited to 'configure.ac')
| -rw-r--r-- | configure.ac | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac index 9c89464..546b6ec 100644 --- a/configure.ac +++ b/configure.ac @@ -57,4 +57,13 @@ AM_COND_IF(DEBUG, AC_DEFINE(DIRSEP, [/], [The directory separator in a file system path]) AC_DEFINE(PATHSEP, [:], [The separator of PATH components]) +# Check if shebangs are supported on this system. +# This is required for execution of types. +AC_SYS_INTERPRETER +if test "x${interpval}" != 'xyes' +then + AC_MSG_ERROR([cannot run types on this system because it does not support shebangs.]) +fi + + AC_OUTPUT |
