INSTALL_PREFIX from C
authorIlya Zakharevich <ilya@math.berkeley.edu>
Thu, 18 Dec 2003 12:30:06 +0000 (04:30 -0800)
committerRafael Garcia-Suarez <rgarciasuarez@gmail.com>
Thu, 25 Dec 2003 20:14:00 +0000 (20:14 +0000)
Message-ID: <20031218203006.GA7772@math.berkeley.edu>

p4raw-id: //depot/perl@21957

config_h.SH

index a40ec44..6c9dce2 100644 (file)
@@ -1401,6 +1401,18 @@ sed <<!GROK!THIS! >$CONFIG_H -e 's!^#undef\(.*/\)\*!/\*#define\1 \*!' -e 's!^#un
  */
 #$d_perl_otherlibdirs PERL_OTHERLIBDIRS "$otherlibdirs"                /**/
 
+/* INSTALL_PREFIX:
+ *     This symbol contains the "root" of installation tree for this package.
+ *     The program should be prepared to do ~ expansion.
+ */
+/* INSTALL_PREFIX_EXP:
+ *     This symbol contains the "root" of installation tree for this package
+ *     to be used in programs that are not prepared to deal with ~ expansion
+ *     at run-time.
+ */
+#define INSTALL_PREFIX "$installprefix"                /**/
+#define INSTALL_PREFIX_EXP "$installprefixexp" /**/
+
 /* PRIVLIB:
  *     This symbol contains the name of the private library for this package.
  *     The library is private in the sense that it needn't be in anyone's