From 42f95378ec2cfa8038a20fc6322c0678b20f0dd7 Mon Sep 17 00:00:00 2001 From: Jeremy Baxter Date: Tue, 27 Feb 2024 17:50:48 +1300 Subject: [PATCH] configure: use neat comment style to denote different sections --- configure | 16 ++++++++++++---- 1 file changed, 12 insertions(+), 4 deletions(-) diff --git a/configure b/configure index be4b402..950e84c 100755 --- a/configure +++ b/configure @@ -10,7 +10,9 @@ cflags='-std=c99' cppflags='-DLUA_USE_POSIX' ldflags='-lm' -# utility functions +# +## utility functions +# present () { command -v "$1" 1>/dev/null 2>/dev/null @@ -23,7 +25,9 @@ throw () { exit 1 } -# generators +# +## flag generators +# ## C compiler gen_CC () { @@ -74,7 +78,9 @@ gen_LDFLAGS () { done } -# command line interface +# +## command line interface +# while getopts c:dhr ch; do case "$ch" in @@ -98,7 +104,9 @@ EOF esac done -# creating the makefile +# +## create the makefile +# cd $(dirname $0)