forked from networkupstools/nut
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
*.ac, *.am, *.m4: Introduce AX_EXTRACT_PATH and configure --enable-li…
…nker-add-dependency-rpath [networkupstools#2782] Signed-off-by: Jim Klimov <[email protected]>
- Loading branch information
Showing
2 changed files
with
40 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
dnl Given a LIBS string value in $1 coming from command-line arguments or | ||
dnl pkg-config, prepare a similar string named in $2 with parameters for | ||
dnl the linker -- by picking the "-R/some/path" values, and optionally | ||
dnl converting the "-L/some/path" into "-R" too. | ||
dnl Activity is controlled by $3: | ||
dnl no Do nothing, return empty $2 | ||
dnl only-R Only select -R hits (if any are present) | ||
dnl yes Convert all -R and -L hits | ||
dnl /some:/paths Convert all -R and -L hits except "/some" or "/paths" | ||
dnl Copyright (C) 2024-2025 by Jim Klimov | ||
|
||
AC_DEFUN([AX_EXTRACT_RPATH], | ||
[ | ||
]) |