sdl2-config.in: use backtics instead of $() for older shells

/bin/sh of Solaris does not understand $()
This commit is contained in:
Anonymous Maarten
2024-06-27 13:35:03 +02:00
committed by Anonymous Maarten
parent 2eeb39298e
commit 256269afb3

View File

@@ -1,10 +1,10 @@
#!/bin/sh
# Get the canonical path of the folder containing this script
bindir=$(cd -P -- "$(dirname -- "$0")" && printf '%s\n' "$(pwd -P)")
bindir=`cd -P -- "\`dirname -- "$0"\`" && printf '%s\n' "\`pwd -P\`"`
# Calculate the canonical path of the prefix, relative to the folder of this script
prefix=$(cd -P -- "$bindir/@bin_prefix_relpath@" && printf '%s\n' "$(pwd -P)")
prefix=`cd -P -- "$bindir/@bin_prefix_relpath@" && printf '%s\n' "\`pwd -P\`"`
exec_prefix=@exec_prefix@
exec_prefix_set=no
libdir=@libdir@