a3d4338d74be03b3ecc9381c55aa2e76215c3edbgstein# Find all config files (config*.m4) and map them into lines with the
a3d4338d74be03b3ecc9381c55aa2e76215c3edbgstein# form: NUM? '0' ' ' PATH
a3d4338d74be03b3ecc9381c55aa2e76215c3edbgstein# For example:
a3d4338d74be03b3ecc9381c55aa2e76215c3edbgstein# These lines are sorted, then the first field is removed. Thus, we
a3d4338d74be03b3ecc9381c55aa2e76215c3edbgstein# have a set of paths sorted on the config-number (if present). All
a3d4338d74be03b3ecc9381c55aa2e76215c3edbgstein# config files without a number are sorted before those with a number.
2540bc483021296863cfff2d77b7d3c05b217e0fsfconfigfiles=`find os server modules support -name "config*.m4" | \
a3d4338d74be03b3ecc9381c55aa2e76215c3edbgstein if [ -r $configfile ]; then
a3d4338d74be03b3ecc9381c55aa2e76215c3edbgstein echo "sinclude($configfile)"