diff options
| author | Dennis Camera <skonfig@dtnr.ch> | 2022-08-03 18:00:16 +0200 |
|---|---|---|
| committer | Dennis Camera <skonfig@dtnr.ch> | 2022-08-03 18:00:16 +0200 |
| commit | a08bb6903495fb562fc3f2b881ee69eb36ac01cf (patch) | |
| tree | 9c2ffa1d2c94a72775426184f197771731576a70 /configure.ac | |
| parent | fdccc8b948a4df3b6a2c3dcd6990c05bf8afdb27 (diff) | |
| download | skonfig-c-a08bb6903495fb562fc3f2b881ee69eb36ac01cf.tar.gz skonfig-c-a08bb6903495fb562fc3f2b881ee69eb36ac01cf.zip | |
[configure.ac] Check if the compiling system supports shebangs
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 |
