Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitc7f0891

Browse files
committed
Fail in a nicer way if we have --with-perl and no Perl.
1 parent2cb67c4 commitc7f0891

File tree

2 files changed

+9
-1
lines changed

2 files changed

+9
-1
lines changed

‎configure

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6897,6 +6897,11 @@ $as_echo "$as_me: WARNING:
68976897
fi
68986898

68996899
if test "$with_perl" = yes; then
6900+
if test -z "$PERL"; then
6901+
{ { $as_echo "$as_me:$LINENO: error: Perl not found" >&5
6902+
$as_echo "$as_me: error: Perl not found" >&2;}
6903+
{ (exit 1); exit 1; }; }
6904+
fi
69006905

69016906
{ $as_echo "$as_me:$LINENO: checking for Perl archlibexp" >&5
69026907
$as_echo_n "checking for Perl archlibexp... " >&6; }

‎configure.in

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
dnl Process this file with autoconf to produce a configure script.
2-
dnl $PostgreSQL: pgsql/configure.in,v 1.619 2010/01/0700:25:04 tgl Exp $
2+
dnl $PostgreSQL: pgsql/configure.in,v 1.620 2010/01/0703:24:57 tgl Exp $
33
dnl
44
dnl Developers, please strive to achieve this order:
55
dnl
@@ -825,6 +825,9 @@ PGAC_PATH_FLEX
825825

826826
PGAC_PATH_PERL
827827
if test "$with_perl" = yes; then
828+
if test -z "$PERL"; then
829+
AC_MSG_ERROR([Perl not found])
830+
fi
828831
PGAC_CHECK_PERL_CONFIGS([archlibexp,privlibexp,useshrplib])
829832
PGAC_CHECK_PERL_EMBED_LDFLAGS
830833
fi

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp