Brad Bishop | 1a4b7ee | 2018-12-16 17:11:34 -0800 | [diff] [blame] | 1 | From 5412077c398dec74321388fe6e593a44c4c80de6 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 |
Patrick Williams | b48b7b4 | 2016-08-17 15:04:38 -0500 | [diff] [blame] | 5 | |
Brad Bishop | 1a4b7ee | 2018-12-16 17:11:34 -0800 | [diff] [blame] | 6 | Upstream-Status: Inappropriate [configuration] |
| 7 | |
Brad Bishop | c342db3 | 2019-05-15 21:57:59 -0400 | [diff] [blame] | 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 | |
Brad Bishop | 1a4b7ee | 2018-12-16 17:11:34 -0800 | [diff] [blame] | 15 | --- |
| 16 | configure.in | 5 +---- |
| 17 | 1 file changed, 1 insertion(+), 4 deletions(-) |
| 18 | |
| 19 | diff --git a/configure.in b/configure.in |
| 20 | index d828512..be7bd25 100644 |
| 21 | --- a/configure.in |
| 22 | +++ b/configure.in |
| 23 | @@ -855,10 +855,7 @@ AC_DEFINE_UNQUOTED(SERVER_CONFIG_FILE, "${rel_sysconfdir}/${progname}.conf", |
Brad Bishop | 316dfdd | 2018-06-25 12:45:53 -0400 | [diff] [blame] | 24 | AC_DEFINE_UNQUOTED(AP_TYPES_CONFIG_FILE, "${rel_sysconfdir}/mime.types", |
| 25 | [Location of the MIME types config file, relative to the Apache root directory]) |
Patrick Williams | b48b7b4 | 2016-08-17 15:04:38 -0500 | [diff] [blame] | 26 | |
| 27 | -perlbin=`$ac_aux_dir/PrintPath perl` |
| 28 | -if test "x$perlbin" = "x"; then |
| 29 | - perlbin="/replace/with/path/to/perl/interpreter" |
| 30 | -fi |
| 31 | +perlbin='/usr/bin/perl' |
| 32 | AC_SUBST(perlbin) |
| 33 | |
| 34 | dnl If we are running on BSD/OS, we need to use the BSD .include syntax. |