Skip to content

Commit

Permalink
Put the right runpath to libpq into the Perl module shared object on …
Browse files Browse the repository at this point in the history
…more

platforms and without relinking.

Also support VPATH builds and DESTDIR installs.  One hopes.
  • Loading branch information
petere committed Aug 26, 2001
1 parent 8e0d642 commit ef7152f
Show file tree
Hide file tree
Showing 7 changed files with 555 additions and 427 deletions.
3 changes: 2 additions & 1 deletion aclocal.m4
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
dnl $Header: /cvsroot/pgsql/aclocal.m4,v 1.12 2001/03/05 09:38:54 peter Exp $
dnl $Header: /cvsroot/pgsql/aclocal.m4,v 1.13 2001/08/26 22:28:03 petere Exp $
builtin([include], [config/ac_func_accept_argtypes.m4])
builtin([include], [config/c-compiler.m4])
builtin([include], [config/c-library.m4])
Expand All @@ -7,6 +7,7 @@ builtin([include], [config/docbook.m4])
builtin([include], [config/general.m4])
builtin([include], [config/java.m4])
builtin([include], [config/libtool.m4])
builtin([include], [config/perl.m4])
builtin([include], [config/programs.m4])
builtin([include], [config/python.m4])
builtin([include], [config/tcl.m4])
27 changes: 27 additions & 0 deletions config/perl.m4
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
# $Header: /cvsroot/pgsql/config/perl.m4,v 1.1 2001/08/26 22:28:04 petere Exp $


# PGAC_PATH_PERL
# --------------
AC_DEFUN([PGAC_PATH_PERL],
[AC_PATH_PROG(PERL, perl)])


# PGAC_CHECK_PERL_DIRS
# ---------------------
AC_DEFUN([PGAC_CHECK_PERL_DIRS],
[
AC_REQUIRE([PGAC_PATH_PERL])
AC_MSG_CHECKING([Perl installation directories])
# These are the ones we currently need. Others can be added easily.
perl_installsitearch=`$PERL -MConfig -e 'print $Config{installsitearch}'`
perl_installsitelib=`$PERL -MConfig -e 'print $Config{installsitelib}'`
perl_installman3dir=`$PERL -MConfig -e 'print $Config{installman3dir}'`
AC_SUBST(perl_installsitearch)[]dnl
AC_SUBST(perl_installsitelib)[]dnl
AC_SUBST(perl_installman3dir)[]dnl
AC_MSG_RESULT(done)
])
Loading

0 comments on commit ef7152f

Please sign in to comment.