Andrew Geissler | 9aee500 | 2022-03-30 16:27:02 +0000 | [diff] [blame^] | 1 | From 443d15b91d4e4979d92405610303797663f31102 Mon Sep 17 00:00:00 2001 |
| 2 | From: echo <fei.geng@windriver.com> |
| 3 | Date: Tue, 28 Apr 2009 03:11:06 +0000 |
| 4 | Subject: [PATCH] Fix perl install directory to /usr/bin |
| 5 | |
| 6 | Upstream-Status: Inappropriate [configuration] |
| 7 | |
| 8 | Add back this patch. Without this patch, apxs's shebang will use |
| 9 | perl under hosttools, which can be too long for shebang, and cause |
| 10 | error: |
| 11 | bad interpreter: No such file or directory |
| 12 | |
| 13 | Signed-off-by: Changqing Li <changqing.li@windriver.com> |
| 14 | --- |
| 15 | configure.in | 5 +---- |
| 16 | 1 file changed, 1 insertion(+), 4 deletions(-) |
| 17 | |
| 18 | diff --git a/configure.in b/configure.in |
| 19 | index 4df3ff3..4eeb609 100644 |
| 20 | --- a/configure.in |
| 21 | +++ b/configure.in |
| 22 | @@ -903,10 +903,7 @@ AC_DEFINE_UNQUOTED(SERVER_CONFIG_FILE, "${rel_sysconfdir}/${progname}.conf", |
| 23 | AC_DEFINE_UNQUOTED(AP_TYPES_CONFIG_FILE, "${rel_sysconfdir}/mime.types", |
| 24 | [Location of the MIME types config file, relative to the Apache root directory]) |
| 25 | |
| 26 | -perlbin=`$ac_aux_dir/PrintPath perl` |
| 27 | -if test "x$perlbin" = "x"; then |
| 28 | - perlbin="/replace/with/path/to/perl/interpreter" |
| 29 | -fi |
| 30 | +perlbin='/usr/bin/perl' |
| 31 | AC_SUBST(perlbin) |
| 32 | |
| 33 | dnl If we are running on BSD/OS, we need to use the BSD .include syntax. |
| 34 | -- |
| 35 | 2.25.1 |
| 36 | |