We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9eba3f3 commit 8f7bc31Copy full SHA for 8f7bc31
RPostgreSQL/configure.ac
@@ -5,6 +5,15 @@
5
#
6
# This file draws heavily on configure.in files from littler, RMySQL, and RdbiPgSQL
7
8
+: ${R_HOME=`R RHOME`}
9
+if test -z "${R_HOME}"; then
10
+ echo "could not determine R_HOME"
11
+ exit 1
12
+fi
13
+CC=`"${R_HOME}/bin/R" CMD config CC`
14
+CFLAGS=`"${R_HOME}/bin/R" CMD config CFLAGS`
15
+CPPFLAGS=`"${R_HOME}/bin/R" CMD config CPPFLAGS`
16
+
17
# Set the name and version -- the version set here will propagate to other files from here
18
AC_INIT([RPostgreSQL],[0.7])
19
0 commit comments