diff options
| author | Laurent Bercot <ska-skaware@skarnet.org> | 2025-04-02 06:02:35 +0000 |
|---|---|---|
| committer | Laurent Bercot <ska@appnovation.com> | 2025-04-02 06:02:35 +0000 |
| commit | 200a70765a503fc94b546e5a52fdd90a59eee3b3 (patch) | |
| tree | 343e317b83e45454239cdb50a50b3649bcdc174f /tools | |
| parent | 56ab53289c60c6fbb06f8d548d353535d5ed1140 (diff) | |
| download | skalibs-200a70765a503fc94b546e5a52fdd90a59eee3b3.tar.gz | |
Add sagetexecname() and all the necessary infrastructure
Signed-off-by: Laurent Bercot <ska@appnovation.com>
Diffstat (limited to 'tools')
| -rwxr-xr-x | tools/gen-sysdepsh.sh | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/tools/gen-sysdepsh.sh b/tools/gen-sysdepsh.sh index c699feb..4cb5f3d 100755 --- a/tools/gen-sysdepsh.sh +++ b/tools/gen-sysdepsh.sh @@ -24,13 +24,17 @@ while read k v ; do elif test ${k} != ${k##SIZEOF} ; then echo "#undef SKALIBS_$k" echo "#define SKALIBS_$k $v" - elif test ${k} = ENDIANNESS ; then - echo '#undef SKALIBS_ENDIANNESS' - echo "#define SKALIBS_ENDIANNESS \"$v\"" else - echo "#undef SKALIBS_HAS$k" if test $v = yes ; then + echo "#undef SKALIBS_HAS$k" echo "#define SKALIBS_HAS$k" + elif test $v = no ; then + echo "#undef SKALIBS_HAS$k" + else + echo "#undef SKALIBS_$k" + if test $v != none ; then + echo "#define SKALIBS_$k \"$v\"" + fi fi fi echo |
