configure[.ac]: removed bashism

This commit is contained in:
Martin Pulec
2024-12-02 09:49:20 +01:00
parent 0278057098
commit 38234ecc52
2 changed files with 6261 additions and 4845 deletions

11099
configure vendored

File diff suppressed because it is too large Load Diff

View File

@@ -266,11 +266,6 @@ static inline int posix_memalign(void **memptr, size_t alignment, size_t size)
#define MAX(a,b) (((a)>(b))?(a):(b))
])
# @param $1 name of the module
function MODULE_NAME() {
echo "lib/ultragrid/ultragrid_"$1".so"
}
# Adds the module to UltraGrid build system.
# @param $1 name of the module, should be in format <class>_<name> unless
# sure that the modular build won't take place
@@ -278,7 +273,7 @@ function MODULE_NAME() {
# @param $3 libraries
# @param $4 static libraries (?)
AC_DEFUN([ADD_MODULE], [
TARGET=$(MODULE_NAME "$1")
TARGET="lib/ultragrid/ultragrid_"$1".so"
LIB_OBJS=$LIB_OBJS" "$2
LIB_MODULES=$LIB_MODULES" "$3
AM_CONDITIONAL([IS_TARGET], [test x$1 != x])