You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: configure.ac
+51-6Lines changed: 51 additions & 6 deletions
Original file line number
Diff line number
Diff line change
@@ -15,10 +15,20 @@ AC_CONFIG_MACRO_DIR([macros])
15
15
AC_CONFIG_AUX_DIR([build-aux])
16
16
AC_PROG_INSTALL
17
17
18
+
dnl Overwrite _LT_PROG_AR
19
+
m4_pushdef([_LT_PROG_AR],
20
+
[: ${AR_FLAGS=rs}
21
+
PG_PROG_AR
22
+
PG_PROG_RANLIB
23
+
dnl Call original _LT_PROG_AR
24
+
m4_popdef([_LT_PROG_AR])
25
+
_LT_PROG_AR
26
+
])# _LT_PROG_AR
27
+
18
28
19
29
dnl Invoke libtool: we do this as it is the easiest way to find the PIC
20
30
dnl flags required to build liblwgeom
21
-
AC_PROG_LIBTOOL
31
+
LT_INIT
22
32
23
33
dnl
24
34
dnl Compilers
@@ -750,6 +760,22 @@ CPPFLAGS="$GEOS_CPPFLAGS"
750
760
AC_CHECK_HEADER([geos_c.h], [], [AC_MSG_ERROR([could not find geos_c.h - you may need to specify the directory of a geos-config file using --with-geosconfig])])
751
761
CPPFLAGS="$CPPFLAGS_SAVE"
752
762
763
+
#
764
+
# MacOS with XCode > 15 now requires rpath entries for
765
+
# libraries like GEOS/Proj that might be flexibly installed
0 commit comments