summaryrefslogtreecommitdiff
path: root/packages/mysql/files/fix_host_path.patch
blob: 4ba1cc0838652bc1b906be8fb5b78ff4d9c6cb34 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
--- mysql-4.1.22/configure.in.old	2008-09-18 20:11:15.000000000 -0500
+++ mysql-4.1.22/configure.in	2008-09-18 20:12:28.000000000 -0500
@@ -456,9 +456,9 @@ else
   fi
 fi
 
-AC_SUBST(HOSTNAME)
-AC_SUBST(PERL)
-AC_SUBST(PERL5)
+AC_SUBST(HOSTNAME,/bin/hostname)
+AC_SUBST(PERL,$(bindir)/perl)
+AC_SUBST(PERL5,$(bindir)/perl)
 
 # for build ndb docs
 
@@ -527,7 +527,7 @@ else
   AC_MSG_WARN([kill -0 to check for pid seems to fail])
     CHECK_PID="$ac_cv_path_KILL -s SIGCONT \$\$PID > /dev/null 2> /dev/null"
 fi
-AC_SUBST(CHECK_PID)
+AC_SUBST(CHECK_PID,/bin/kill)
 AC_MSG_RESULT("$CHECK_PID")
 
 # We need an ANSI C compiler