From 6200ecca77f6fc7b280cde8046d36aaa9a2738df Mon Sep 17 00:00:00 2001 From: Florian Pose Date: Thu, 1 Feb 2024 17:44:20 +0100 Subject: [PATCH] Limited line length to 78. --- configure.ac | 132 ++++++++++++++++++++++++++------------------------- 1 file changed, 67 insertions(+), 65 deletions(-) diff --git a/configure.ac b/configure.ac index e3ca699e..c6f7997c 100644 --- a/configure.ac +++ b/configure.ac @@ -1,4 +1,4 @@ -#------------------------------------------------------------------------------ +#----------------------------------------------------------------------------- # # Copyright (C) 2006-2023 Florian Pose, Ingenieurgemeinschaft IgH # @@ -17,7 +17,7 @@ # with the IgH EtherCAT Master; if not, write to the Free Software # Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA # -#------------------------------------------------------------------------------ +#----------------------------------------------------------------------------- AC_PREREQ(2.59) @@ -42,18 +42,18 @@ AC_PROG_SED PKG_PROG_PKG_CONFIG PKG_INSTALLDIR() -#------------------------------------------------------------------------------ +#----------------------------------------------------------------------------- # Global -#------------------------------------------------------------------------------ +#----------------------------------------------------------------------------- AM_PROG_CC_C_O m4_ifdef([AM_PROG_AR], [AM_PROG_AR]) AC_PROG_CXX AC_PROG_LIBTOOL -#------------------------------------------------------------------------------ +#----------------------------------------------------------------------------- # Kernel modules -#------------------------------------------------------------------------------ +#----------------------------------------------------------------------------- AC_MSG_CHECKING([whether to build kernel modules]) @@ -82,9 +82,9 @@ fi AM_CONDITIONAL(ENABLE_KERNEL, test "x$enablekernel" = "x1") AC_SUBST(ENABLE_KERNEL,[$enablekernel]) -#------------------------------------------------------------------------------ +#----------------------------------------------------------------------------- # Linux sources -#------------------------------------------------------------------------------ +#----------------------------------------------------------------------------- if test "x$enablekernel" = "x1"; then @@ -146,9 +146,9 @@ AC_MSG_RESULT([$LINUX_SOURCE_DIR (Kernel $linuxversion)]) fi -#------------------------------------------------------------------------------ +#----------------------------------------------------------------------------- # Linux module installation subdirectory -#------------------------------------------------------------------------------ +#----------------------------------------------------------------------------- AC_ARG_WITH([module-dir], AC_HELP_STRING( @@ -163,9 +163,9 @@ AC_SUBST(INSTALL_MOD_DIR,[$moddir]) AC_MSG_CHECKING([for Linux modules installation directory]) AC_MSG_RESULT([$INSTALL_MOD_DIR]) -#------------------------------------------------------------------------------ +#----------------------------------------------------------------------------- # Generic Ethernet driver -#------------------------------------------------------------------------------ +#----------------------------------------------------------------------------- AC_ARG_ENABLE([generic], AS_HELP_STRING([--enable-generic], @@ -186,9 +186,9 @@ AC_ARG_ENABLE([generic], AM_CONDITIONAL(ENABLE_GENERIC, test "x$enablegeneric" = "x1") AC_SUBST(ENABLE_GENERIC,[$enablegeneric]) -#------------------------------------------------------------------------------ +#----------------------------------------------------------------------------- # 8139too driver -#------------------------------------------------------------------------------ +#----------------------------------------------------------------------------- AC_ARG_ENABLE([8139too], AS_HELP_STRING([--enable-8139too], @@ -241,9 +241,9 @@ fi AC_SUBST(KERNEL_8139TOO,[$kernel8139too]) -#------------------------------------------------------------------------------ +#----------------------------------------------------------------------------- # e100 driver -#------------------------------------------------------------------------------ +#----------------------------------------------------------------------------- AC_ARG_ENABLE([e100], AS_HELP_STRING([--enable-e100], @@ -296,9 +296,9 @@ fi AC_SUBST(KERNEL_E100,[$kernele100]) -#------------------------------------------------------------------------------ +#----------------------------------------------------------------------------- # e1000 driver -#------------------------------------------------------------------------------ +#----------------------------------------------------------------------------- AC_ARG_ENABLE([e1000], AS_HELP_STRING([--enable-e1000], @@ -351,9 +351,9 @@ fi AC_SUBST(KERNEL_E1000,[$kernele1000]) -#------------------------------------------------------------------------------ +#----------------------------------------------------------------------------- # e1000e driver -#------------------------------------------------------------------------------ +#----------------------------------------------------------------------------- AC_ARG_ENABLE([e1000e], AS_HELP_STRING([--enable-e1000e], @@ -426,9 +426,9 @@ fi AC_SUBST(KERNEL_E1000E,[$kernele1000e]) AC_SUBST(E1000E_LAYOUT, [$e1000elayout]) -#------------------------------------------------------------------------------ +#----------------------------------------------------------------------------- # genet driver -#------------------------------------------------------------------------------ +#----------------------------------------------------------------------------- AC_ARG_ENABLE([genet], AS_HELP_STRING([--enable-genet], @@ -474,9 +474,9 @@ fi AC_SUBST(KERNEL_GENET,[$kernelgenet]) -#------------------------------------------------------------------------------ +#----------------------------------------------------------------------------- # igb driver -#------------------------------------------------------------------------------ +#----------------------------------------------------------------------------- AC_ARG_ENABLE([igb], AS_HELP_STRING([--enable-igb], @@ -521,9 +521,10 @@ if test "x${enableigb}" = "x1"; then fi AC_SUBST(KERNEL_IGB,[$kerneligb]) -#------------------------------------------------------------------------------ + +#----------------------------------------------------------------------------- # igc driver -#------------------------------------------------------------------------------ +#----------------------------------------------------------------------------- AC_ARG_ENABLE([igc], AS_HELP_STRING([--enable-igc], @@ -568,9 +569,9 @@ fi AC_SUBST(KERNEL_IGC,[$kerneligc]) -#------------------------------------------------------------------------------ +#----------------------------------------------------------------------------- # r8169 driver -#------------------------------------------------------------------------------ +#----------------------------------------------------------------------------- AC_ARG_ENABLE([r8169], AS_HELP_STRING([--enable-r8169], @@ -632,9 +633,9 @@ fi AC_SUBST(KERNEL_R8169,[$kernel_r8169]) -#------------------------------------------------------------------------------ +#----------------------------------------------------------------------------- # CCAT driver -#------------------------------------------------------------------------------ +#----------------------------------------------------------------------------- AC_MSG_CHECKING([whether to build the CCAT driver]) @@ -663,9 +664,9 @@ fi AM_CONDITIONAL(ENABLE_CCAT, test "x$enableccat" = "x1") AC_SUBST(ENABLE_CCAT,[$enableccat]) -#------------------------------------------------------------------------------ +#----------------------------------------------------------------------------- # RTAI path (optional) -#------------------------------------------------------------------------------ +#----------------------------------------------------------------------------- AC_ARG_WITH([rtai-dir], AC_HELP_STRING( @@ -703,9 +704,9 @@ AC_SUBST(ENABLE_RTAI,[$rtai]) AC_SUBST(RTAI_LXRT_CFLAGS,[$rtai_lxrt_cflags]) AC_SUBST(RTAI_LXRT_LDFLAGS,[$rtai_lxrt_ldflags]) -#------------------------------------------------------------------------------ +#----------------------------------------------------------------------------- # Xenomai path (optional) -#------------------------------------------------------------------------------ +#----------------------------------------------------------------------------- AC_ARG_WITH([xenomai-dir], AC_HELP_STRING( @@ -751,9 +752,9 @@ AC_SUBST(XENOMAI_POSIX_LDFLAGS,[$xeno_posix_ldflags]) AC_SUBST(XENOMAI_RTDM_CFLAGS,[$xeno_rtdm_cflags]) AC_SUBST(XENOMAI_RTDM_LDFLAGS,[$xeno_rtdm_ldflags]) -#------------------------------------------------------------------------------ +#----------------------------------------------------------------------------- # RTDM interface (optional) -#------------------------------------------------------------------------------ +#----------------------------------------------------------------------------- AC_ARG_ENABLE([rtdm], AC_HELP_STRING( @@ -785,9 +786,9 @@ fi AM_CONDITIONAL(ENABLE_RTDM, test "x$rtdm" = "x1") AC_SUBST(ENABLE_RTDM,[$rtdm]) -#------------------------------------------------------------------------------ +#----------------------------------------------------------------------------- # Debug interface -#------------------------------------------------------------------------------ +#----------------------------------------------------------------------------- AC_MSG_CHECKING([whether to build the debug interface]) @@ -817,9 +818,9 @@ fi AM_CONDITIONAL(ENABLE_DEBUG_IF, test "x$dbg" = "x1") AC_SUBST(ENABLE_DEBUG_IF,[$dbg]) -#------------------------------------------------------------------------------ +#----------------------------------------------------------------------------- # Debug ring -#------------------------------------------------------------------------------ +#----------------------------------------------------------------------------- AC_MSG_CHECKING([whether to build the debug ring]) @@ -846,9 +847,9 @@ else AC_MSG_RESULT([no]) fi -#------------------------------------------------------------------------------ +#----------------------------------------------------------------------------- # Ethernet over EtherCAT support -#------------------------------------------------------------------------------ +#----------------------------------------------------------------------------- AC_MSG_CHECKING([whether to build with EoE support]) @@ -878,9 +879,9 @@ fi AM_CONDITIONAL(ENABLE_EOE, test "x$eoe" = "x1") AC_SUBST(ENABLE_EOE,[$eoe]) -#------------------------------------------------------------------------------ +#----------------------------------------------------------------------------- # CPU timestamp counter support -#------------------------------------------------------------------------------ +#----------------------------------------------------------------------------- AC_MSG_CHECKING([whether to use the CPU timestamp counter]) @@ -907,9 +908,9 @@ else AC_MSG_RESULT([no]) fi -#------------------------------------------------------------------------------ +#----------------------------------------------------------------------------- # High-resolution timer support -#------------------------------------------------------------------------------ +#----------------------------------------------------------------------------- AC_MSG_CHECKING([whether to use high-resolution timers for scheduling]) @@ -936,9 +937,9 @@ else AC_MSG_RESULT([no]) fi -#------------------------------------------------------------------------------ +#----------------------------------------------------------------------------- # Read alias address from register -#------------------------------------------------------------------------------ +#----------------------------------------------------------------------------- AC_MSG_CHECKING([whether to read alias addresses from registers]) @@ -965,7 +966,7 @@ else AC_MSG_RESULT([no]) fi -#------------------------------------------------------------------------------ +#----------------------------------------------------------------------------- # Command-line tool #----------------------------------------------------------------------------- @@ -995,9 +996,9 @@ fi AM_CONDITIONAL(BUILD_TOOL, test "x$tool" = "x1") -#------------------------------------------------------------------------------ +#----------------------------------------------------------------------------- # Userspace library generation -#------------------------------------------------------------------------------ +#----------------------------------------------------------------------------- AC_MSG_CHECKING([whether to build the userspace library]) @@ -1025,9 +1026,9 @@ fi AM_CONDITIONAL(ENABLE_USERLIB, test "x$userlib" = "x1") -#------------------------------------------------------------------------------ +#----------------------------------------------------------------------------- # TTY driver -#------------------------------------------------------------------------------ +#----------------------------------------------------------------------------- AC_MSG_CHECKING([whether to build the tty driver]) @@ -1056,9 +1057,9 @@ fi AM_CONDITIONAL(ENABLE_TTY, test "x$tty" = "x1") AC_SUBST(ENABLE_TTY,[$tty]) -#------------------------------------------------------------------------------ +#----------------------------------------------------------------------------- # Slave identification wildcards -#------------------------------------------------------------------------------ +#----------------------------------------------------------------------------- AC_MSG_CHECKING([whether to allow identification wildcards]) @@ -1086,9 +1087,9 @@ else AC_MSG_RESULT([no]) fi -#------------------------------------------------------------------------------ +#----------------------------------------------------------------------------- # Redundancy (number of devices) -#------------------------------------------------------------------------------ +#----------------------------------------------------------------------------- AC_ARG_WITH([devices], AC_HELP_STRING( @@ -1118,9 +1119,9 @@ fi AC_DEFINE_UNQUOTED([EC_MAX_NUM_DEVICES], $devices, [Max. number of Ethernet devices per master]) -#------------------------------------------------------------------------------ +#----------------------------------------------------------------------------- # SII assignment -#------------------------------------------------------------------------------ +#----------------------------------------------------------------------------- AC_MSG_CHECKING([whether to assign the SII to PDI]) @@ -1147,9 +1148,9 @@ else AC_MSG_RESULT([no]) fi -#------------------------------------------------------------------------------ +#----------------------------------------------------------------------------- # syslog output in realtime context -#------------------------------------------------------------------------------ +#----------------------------------------------------------------------------- AC_MSG_CHECKING([whether to syslog in realtime context]) @@ -1176,9 +1177,9 @@ else AC_MSG_RESULT([no]) fi -#------------------------------------------------------------------------------ +#----------------------------------------------------------------------------- # systemd service support -#------------------------------------------------------------------------------ +#----------------------------------------------------------------------------- AC_ARG_WITH([systemdsystemunitdir], AS_HELP_STRING([--with-systemdsystemunitdir=DIR], @@ -1205,7 +1206,7 @@ esac AM_CONDITIONAL(HAVE_SYSTEMD, test "x$with_systemdsystemunitdir" != "x") AC_SUBST(systemdsystemunitdir,[$with_systemdsystemunitdir]) -#------------------------------------------------------------------------------ +#----------------------------------------------------------------------------- AC_CONFIG_FILES([ Doxyfile @@ -1257,6 +1258,7 @@ AC_CONFIG_FILES([ tty/Kbuild tty/Makefile ]) + AC_OUTPUT -#------------------------------------------------------------------------------ +#-----------------------------------------------------------------------------