diff options
author | 2024-05-05 01:06:51 +0300 | |
---|---|---|
committer | 2024-09-14 13:30:47 +0200 | |
commit | a2cafe20d9993bda129a2ac41e84f975a2a787bd (patch) | |
tree | 700950990d6c8b4b038e4eef47172443e42aef90 | |
parent | f8be60c4a3c34ddcd97a6b0481ef0e81214cecc5 (diff) | |
download | usbmuxd-a2cafe20d9993bda129a2ac41e84f975a2a787bd.tar.gz usbmuxd-a2cafe20d9993bda129a2ac41e84f975a2a787bd.tar.bz2 |
configure.ac: Do not use '+=' to set CFLAGS to be POSIX-compliant
The '+=' operator used in configure.ac to append to the CFLAGS variable
is present in Bash, but not the POSIX sh specification.
Therefore, the aforementioned part of the configure.ac (from which the
configure script is obtained) might not run correctly under non
Bash-like POSIX compliant shells (dash - default shell on Debian, ash,
etc).
Bug: https://bugs.gentoo.org/924200
Signed-off-by: Zurab Kvachadze <zurabid2016@gmail.com>
-rw-r--r-- | configure.ac | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac index c51d53a..4dd49f1 100644 --- a/configure.ac +++ b/configure.ac @@ -40,7 +40,7 @@ if test "x$have_limd" = "xyes"; then AC_SUBST(libimobiledevice_CFLAGS) AC_SUBST(libimobiledevice_LIBS) CACHED_CFLAGS="$CFLAGS" - CFLAGS+=" $libimobiledevice_CFLAGS" + CFLAGS="$CFLAGS $libimobiledevice_CFLAGS" AC_CACHE_CHECK(for enum idevice_connection_type, ac_cv_enum_idevice_connection_type, AC_COMPILE_IFELSE([AC_LANG_PROGRAM([ #include <libimobiledevice/libimobiledevice.h> |