CINXE.COM

[Apache-SVN] Contents of /httpd/httpd/branches/2.4.x/acinclude.m4

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> <!-- ViewVC :: http://www.viewvc.org/ --> <head> <title>[Apache-SVN] Contents of /httpd/httpd/branches/2.4.x/acinclude.m4</title> <meta name="generator" content="ViewVC 1.1.26" /> <link rel="shortcut icon" href="/vc-static/images/favicon.ico" /> <link rel="stylesheet" href="/vc-static/styles.css" type="text/css" /> </head> <body> <div class="vc_navheader"> <table><tr> <td><strong><a href="/viewvc?view=roots"><span class="pathdiv">/</span></a><a href="/viewvc/">[Apache-SVN]</a><span class="pathdiv">/</span><a href="/viewvc/httpd/">httpd</a><span class="pathdiv">/</span><a href="/viewvc/httpd/httpd/">httpd</a><span class="pathdiv">/</span><a href="/viewvc/httpd/httpd/branches/">branches</a><span class="pathdiv">/</span><a href="/viewvc/httpd/httpd/branches/2.4.x/">2.4.x</a><span class="pathdiv">/</span><a href="/viewvc/httpd/httpd/branches/2.4.x/acinclude.m4?view=log">acinclude.m4</a></strong></td> <td style="text-align: right;"></td> </tr></table> </div> <div style="float: right; padding: 5px;"><a href="http://www.viewvc.org/" title="ViewVC Home"><img src="/vc-static/images/viewvc-logo.png" alt="ViewVC logotype" width="240" height="70" /></a></div> <h1>Contents of /httpd/httpd/branches/2.4.x/acinclude.m4</h1> <p style="margin:0;"> <a href="/viewvc/httpd/httpd/branches/2.4.x/"><img src="/vc-static/images/back_small.png" class="vc_icon" alt="Parent Directory" /> Parent Directory</a> | <a href="/viewvc/httpd/httpd/branches/2.4.x/acinclude.m4?view=log"><img src="/vc-static/images/log.png" class="vc_icon" alt="Revision Log" /> Revision Log</a> </p> <hr /> <div class="vc_summary"> Revision <a href="/viewvc?view=revision&amp;revision=1895924"><strong>1895924</strong></a> - (<a href="/viewvc/httpd/httpd/branches/2.4.x/acinclude.m4?annotate=1895924"><strong>show annotations</strong></a>) (<a href="/viewvc/httpd/httpd/branches/2.4.x/acinclude.m4?revision=1895924&amp;view=co"><strong>download</strong></a>) <br /><em>Mon Dec 13 19:30:46 2021 UTC</em> (2 years, 11 months ago) by <em>minfrin</em> <br />File size: 26049 byte(s) <pre class="vc_log">Backport: *) OpenSSL autoconf detection improvement trunk patch: <a href="http://svn.apache.org/r1834497">http://svn.apache.org/r1834497</a> 2.4.x patch: svn merge -c 1834497 ^/httpd/httpd/trunk . +1: jorton, ylavic, minfrin </pre> </div> <div id="vc_file"> <table cellspacing="0" cellpadding="0"> <tr class="vc_row_odd" id="l1"> <td class="vc_file_line_number"><a href="#l1">1</a></td> <td class="vc_file_line_text"></td> </tr> <tr class="vc_row_odd" id="l2"> <td class="vc_file_line_number"><a href="#l2">2</a></td> <td class="vc_file_line_text">dnl APACHE_HELP_STRING(LHS, RHS)</td> </tr> <tr class="vc_row_odd" id="l3"> <td class="vc_file_line_number"><a href="#l3">3</a></td> <td class="vc_file_line_text">dnl Autoconf 2.50 can not handle substr correctly. It does have </td> </tr> <tr class="vc_row_odd" id="l4"> <td class="vc_file_line_number"><a href="#l4">4</a></td> <td class="vc_file_line_text">dnl AC_HELP_STRING, so let&#39;s try to call it if we can.</td> </tr> <tr class="vc_row_odd" id="l5"> <td class="vc_file_line_number"><a href="#l5">5</a></td> <td class="vc_file_line_text">dnl Note: this define must be on one line so that it can be properly returned</td> </tr> <tr class="vc_row_odd" id="l6"> <td class="vc_file_line_number"><a href="#l6">6</a></td> <td class="vc_file_line_text">dnl as the help string.</td> </tr> <tr class="vc_row_odd" id="l7"> <td class="vc_file_line_number"><a href="#l7">7</a></td> <td class="vc_file_line_text">AC_DEFUN([APACHE_HELP_STRING],[ifelse(regexp(AC_ACVERSION, 2\.1), -1, AC_HELP_STRING($1,$2),[ ]$1 substr([ ],len($1))$2)])dnl</td> </tr> <tr class="vc_row_odd" id="l8"> <td class="vc_file_line_number"><a href="#l8">8</a></td> <td class="vc_file_line_text"></td> </tr> <tr class="vc_row_odd" id="l9"> <td class="vc_file_line_number"><a href="#l9">9</a></td> <td class="vc_file_line_text">dnl APACHE_SUBST(VARIABLE)</td> </tr> <tr class="vc_row_odd" id="l10"> <td class="vc_file_line_number"><a href="#l10">10</a></td> <td class="vc_file_line_text">dnl Makes VARIABLE available in generated files</td> </tr> <tr class="vc_row_odd" id="l11"> <td class="vc_file_line_number"><a href="#l11">11</a></td> <td class="vc_file_line_text">dnl (do not use @variable@ in Makefiles, but $(variable))</td> </tr> <tr class="vc_row_odd" id="l12"> <td class="vc_file_line_number"><a href="#l12">12</a></td> <td class="vc_file_line_text">AC_DEFUN([APACHE_SUBST],[</td> </tr> <tr class="vc_row_odd" id="l13"> <td class="vc_file_line_number"><a href="#l13">13</a></td> <td class="vc_file_line_text"> APACHE_VAR_SUBST=&quot;$APACHE_VAR_SUBST $1&quot;</td> </tr> <tr class="vc_row_odd" id="l14"> <td class="vc_file_line_number"><a href="#l14">14</a></td> <td class="vc_file_line_text"> AC_SUBST($1)</td> </tr> <tr class="vc_row_odd" id="l15"> <td class="vc_file_line_number"><a href="#l15">15</a></td> <td class="vc_file_line_text">])</td> </tr> <tr class="vc_row_odd" id="l16"> <td class="vc_file_line_number"><a href="#l16">16</a></td> <td class="vc_file_line_text"></td> </tr> <tr class="vc_row_odd" id="l17"> <td class="vc_file_line_number"><a href="#l17">17</a></td> <td class="vc_file_line_text">dnl APACHE_FAST_OUTPUT(FILENAME)</td> </tr> <tr class="vc_row_odd" id="l18"> <td class="vc_file_line_number"><a href="#l18">18</a></td> <td class="vc_file_line_text">dnl Perform substitutions on FILENAME (Makefiles only)</td> </tr> <tr class="vc_row_odd" id="l19"> <td class="vc_file_line_number"><a href="#l19">19</a></td> <td class="vc_file_line_text">AC_DEFUN([APACHE_FAST_OUTPUT],[</td> </tr> <tr class="vc_row_odd" id="l20"> <td class="vc_file_line_number"><a href="#l20">20</a></td> <td class="vc_file_line_text"> APACHE_FAST_OUTPUT_FILES=&quot;$APACHE_FAST_OUTPUT_FILES $1&quot;</td> </tr> <tr class="vc_row_odd" id="l21"> <td class="vc_file_line_number"><a href="#l21">21</a></td> <td class="vc_file_line_text">])</td> </tr> <tr class="vc_row_odd" id="l22"> <td class="vc_file_line_number"><a href="#l22">22</a></td> <td class="vc_file_line_text"></td> </tr> <tr class="vc_row_odd" id="l23"> <td class="vc_file_line_number"><a href="#l23">23</a></td> <td class="vc_file_line_text">dnl APACHE_GEN_CONFIG_VARS</td> </tr> <tr class="vc_row_odd" id="l24"> <td class="vc_file_line_number"><a href="#l24">24</a></td> <td class="vc_file_line_text">dnl Creates config_vars.mk</td> </tr> <tr class="vc_row_odd" id="l25"> <td class="vc_file_line_number"><a href="#l25">25</a></td> <td class="vc_file_line_text">AC_DEFUN([APACHE_GEN_CONFIG_VARS],[</td> </tr> <tr class="vc_row_odd" id="l26"> <td class="vc_file_line_number"><a href="#l26">26</a></td> <td class="vc_file_line_text"> APACHE_SUBST(HTTPD_VERSION)</td> </tr> <tr class="vc_row_odd" id="l27"> <td class="vc_file_line_number"><a href="#l27">27</a></td> <td class="vc_file_line_text"> APACHE_SUBST(HTTPD_MMN)</td> </tr> <tr class="vc_row_odd" id="l28"> <td class="vc_file_line_number"><a href="#l28">28</a></td> <td class="vc_file_line_text"> APACHE_SUBST(abs_srcdir)</td> </tr> <tr class="vc_row_odd" id="l29"> <td class="vc_file_line_number"><a href="#l29">29</a></td> <td class="vc_file_line_text"> APACHE_SUBST(bindir)</td> </tr> <tr class="vc_row_odd" id="l30"> <td class="vc_file_line_number"><a href="#l30">30</a></td> <td class="vc_file_line_text"> APACHE_SUBST(sbindir)</td> </tr> <tr class="vc_row_odd" id="l31"> <td class="vc_file_line_number"><a href="#l31">31</a></td> <td class="vc_file_line_text"> APACHE_SUBST(cgidir)</td> </tr> <tr class="vc_row_odd" id="l32"> <td class="vc_file_line_number"><a href="#l32">32</a></td> <td class="vc_file_line_text"> APACHE_SUBST(logfiledir)</td> </tr> <tr class="vc_row_odd" id="l33"> <td class="vc_file_line_number"><a href="#l33">33</a></td> <td class="vc_file_line_text"> APACHE_SUBST(exec_prefix)</td> </tr> <tr class="vc_row_odd" id="l34"> <td class="vc_file_line_number"><a href="#l34">34</a></td> <td class="vc_file_line_text"> APACHE_SUBST(datadir)</td> </tr> <tr class="vc_row_odd" id="l35"> <td class="vc_file_line_number"><a href="#l35">35</a></td> <td class="vc_file_line_text"> APACHE_SUBST(localstatedir)</td> </tr> <tr class="vc_row_odd" id="l36"> <td class="vc_file_line_number"><a href="#l36">36</a></td> <td class="vc_file_line_text"> APACHE_SUBST(mandir)</td> </tr> <tr class="vc_row_odd" id="l37"> <td class="vc_file_line_number"><a href="#l37">37</a></td> <td class="vc_file_line_text"> APACHE_SUBST(libdir)</td> </tr> <tr class="vc_row_odd" id="l38"> <td class="vc_file_line_number"><a href="#l38">38</a></td> <td class="vc_file_line_text"> APACHE_SUBST(libexecdir)</td> </tr> <tr class="vc_row_odd" id="l39"> <td class="vc_file_line_number"><a href="#l39">39</a></td> <td class="vc_file_line_text"> APACHE_SUBST(htdocsdir)</td> </tr> <tr class="vc_row_odd" id="l40"> <td class="vc_file_line_number"><a href="#l40">40</a></td> <td class="vc_file_line_text"> APACHE_SUBST(manualdir)</td> </tr> <tr class="vc_row_odd" id="l41"> <td class="vc_file_line_number"><a href="#l41">41</a></td> <td class="vc_file_line_text"> APACHE_SUBST(includedir)</td> </tr> <tr class="vc_row_odd" id="l42"> <td class="vc_file_line_number"><a href="#l42">42</a></td> <td class="vc_file_line_text"> APACHE_SUBST(errordir)</td> </tr> <tr class="vc_row_odd" id="l43"> <td class="vc_file_line_number"><a href="#l43">43</a></td> <td class="vc_file_line_text"> APACHE_SUBST(iconsdir)</td> </tr> <tr class="vc_row_odd" id="l44"> <td class="vc_file_line_number"><a href="#l44">44</a></td> <td class="vc_file_line_text"> APACHE_SUBST(sysconfdir)</td> </tr> <tr class="vc_row_odd" id="l45"> <td class="vc_file_line_number"><a href="#l45">45</a></td> <td class="vc_file_line_text"> APACHE_SUBST(installbuilddir)</td> </tr> <tr class="vc_row_odd" id="l46"> <td class="vc_file_line_number"><a href="#l46">46</a></td> <td class="vc_file_line_text"> APACHE_SUBST(runtimedir)</td> </tr> <tr class="vc_row_odd" id="l47"> <td class="vc_file_line_number"><a href="#l47">47</a></td> <td class="vc_file_line_text"> APACHE_SUBST(proxycachedir)</td> </tr> <tr class="vc_row_odd" id="l48"> <td class="vc_file_line_number"><a href="#l48">48</a></td> <td class="vc_file_line_text"> APACHE_SUBST(other_targets)</td> </tr> <tr class="vc_row_odd" id="l49"> <td class="vc_file_line_number"><a href="#l49">49</a></td> <td class="vc_file_line_text"> APACHE_SUBST(progname)</td> </tr> <tr class="vc_row_odd" id="l50"> <td class="vc_file_line_number"><a href="#l50">50</a></td> <td class="vc_file_line_text"> APACHE_SUBST(prefix)</td> </tr> <tr class="vc_row_odd" id="l51"> <td class="vc_file_line_number"><a href="#l51">51</a></td> <td class="vc_file_line_text"> APACHE_SUBST(AWK)</td> </tr> <tr class="vc_row_odd" id="l52"> <td class="vc_file_line_number"><a href="#l52">52</a></td> <td class="vc_file_line_text"> APACHE_SUBST(CC)</td> </tr> <tr class="vc_row_odd" id="l53"> <td class="vc_file_line_number"><a href="#l53">53</a></td> <td class="vc_file_line_text"> APACHE_SUBST(CPP)</td> </tr> <tr class="vc_row_odd" id="l54"> <td class="vc_file_line_number"><a href="#l54">54</a></td> <td class="vc_file_line_text"> APACHE_SUBST(CXX)</td> </tr> <tr class="vc_row_odd" id="l55"> <td class="vc_file_line_number"><a href="#l55">55</a></td> <td class="vc_file_line_text"> APACHE_SUBST(CPPFLAGS)</td> </tr> <tr class="vc_row_odd" id="l56"> <td class="vc_file_line_number"><a href="#l56">56</a></td> <td class="vc_file_line_text"> APACHE_SUBST(CFLAGS)</td> </tr> <tr class="vc_row_odd" id="l57"> <td class="vc_file_line_number"><a href="#l57">57</a></td> <td class="vc_file_line_text"> APACHE_SUBST(CXXFLAGS)</td> </tr> <tr class="vc_row_odd" id="l58"> <td class="vc_file_line_number"><a href="#l58">58</a></td> <td class="vc_file_line_text"> APACHE_SUBST(LTFLAGS)</td> </tr> <tr class="vc_row_odd" id="l59"> <td class="vc_file_line_number"><a href="#l59">59</a></td> <td class="vc_file_line_text"> APACHE_SUBST(LDFLAGS)</td> </tr> <tr class="vc_row_odd" id="l60"> <td class="vc_file_line_number"><a href="#l60">60</a></td> <td class="vc_file_line_text"> APACHE_SUBST(LT_LDFLAGS)</td> </tr> <tr class="vc_row_odd" id="l61"> <td class="vc_file_line_number"><a href="#l61">61</a></td> <td class="vc_file_line_text"> APACHE_SUBST(SH_LDFLAGS)</td> </tr> <tr class="vc_row_odd" id="l62"> <td class="vc_file_line_number"><a href="#l62">62</a></td> <td class="vc_file_line_text"> APACHE_SUBST(HTTPD_LDFLAGS)</td> </tr> <tr class="vc_row_odd" id="l63"> <td class="vc_file_line_number"><a href="#l63">63</a></td> <td class="vc_file_line_text"> APACHE_SUBST(UTIL_LDFLAGS)</td> </tr> <tr class="vc_row_odd" id="l64"> <td class="vc_file_line_number"><a href="#l64">64</a></td> <td class="vc_file_line_text"> APACHE_SUBST(LIBS)</td> </tr> <tr class="vc_row_odd" id="l65"> <td class="vc_file_line_number"><a href="#l65">65</a></td> <td class="vc_file_line_text"> APACHE_SUBST(DEFS)</td> </tr> <tr class="vc_row_odd" id="l66"> <td class="vc_file_line_number"><a href="#l66">66</a></td> <td class="vc_file_line_text"> APACHE_SUBST(INCLUDES)</td> </tr> <tr class="vc_row_odd" id="l67"> <td class="vc_file_line_number"><a href="#l67">67</a></td> <td class="vc_file_line_text"> APACHE_SUBST(NOTEST_CPPFLAGS)</td> </tr> <tr class="vc_row_odd" id="l68"> <td class="vc_file_line_number"><a href="#l68">68</a></td> <td class="vc_file_line_text"> APACHE_SUBST(NOTEST_CFLAGS)</td> </tr> <tr class="vc_row_odd" id="l69"> <td class="vc_file_line_number"><a href="#l69">69</a></td> <td class="vc_file_line_text"> APACHE_SUBST(NOTEST_CXXFLAGS)</td> </tr> <tr class="vc_row_odd" id="l70"> <td class="vc_file_line_number"><a href="#l70">70</a></td> <td class="vc_file_line_text"> APACHE_SUBST(NOTEST_LDFLAGS)</td> </tr> <tr class="vc_row_odd" id="l71"> <td class="vc_file_line_number"><a href="#l71">71</a></td> <td class="vc_file_line_text"> APACHE_SUBST(NOTEST_LIBS)</td> </tr> <tr class="vc_row_odd" id="l72"> <td class="vc_file_line_number"><a href="#l72">72</a></td> <td class="vc_file_line_text"> APACHE_SUBST(EXTRA_CPPFLAGS)</td> </tr> <tr class="vc_row_odd" id="l73"> <td class="vc_file_line_number"><a href="#l73">73</a></td> <td class="vc_file_line_text"> APACHE_SUBST(EXTRA_CFLAGS)</td> </tr> <tr class="vc_row_odd" id="l74"> <td class="vc_file_line_number"><a href="#l74">74</a></td> <td class="vc_file_line_text"> APACHE_SUBST(EXTRA_CXXFLAGS)</td> </tr> <tr class="vc_row_odd" id="l75"> <td class="vc_file_line_number"><a href="#l75">75</a></td> <td class="vc_file_line_text"> APACHE_SUBST(EXTRA_LDFLAGS)</td> </tr> <tr class="vc_row_odd" id="l76"> <td class="vc_file_line_number"><a href="#l76">76</a></td> <td class="vc_file_line_text"> APACHE_SUBST(EXTRA_LIBS)</td> </tr> <tr class="vc_row_odd" id="l77"> <td class="vc_file_line_number"><a href="#l77">77</a></td> <td class="vc_file_line_text"> APACHE_SUBST(EXTRA_INCLUDES)</td> </tr> <tr class="vc_row_odd" id="l78"> <td class="vc_file_line_number"><a href="#l78">78</a></td> <td class="vc_file_line_text"> APACHE_SUBST(INTERNAL_CPPFLAGS)</td> </tr> <tr class="vc_row_odd" id="l79"> <td class="vc_file_line_number"><a href="#l79">79</a></td> <td class="vc_file_line_text"> APACHE_SUBST(LIBTOOL)</td> </tr> <tr class="vc_row_odd" id="l80"> <td class="vc_file_line_number"><a href="#l80">80</a></td> <td class="vc_file_line_text"> APACHE_SUBST(SHELL)</td> </tr> <tr class="vc_row_odd" id="l81"> <td class="vc_file_line_number"><a href="#l81">81</a></td> <td class="vc_file_line_text"> APACHE_SUBST(RSYNC)</td> </tr> <tr class="vc_row_odd" id="l82"> <td class="vc_file_line_number"><a href="#l82">82</a></td> <td class="vc_file_line_text"> APACHE_SUBST(SVN)</td> </tr> <tr class="vc_row_odd" id="l83"> <td class="vc_file_line_number"><a href="#l83">83</a></td> <td class="vc_file_line_text"> APACHE_SUBST(MODULE_DIRS)</td> </tr> <tr class="vc_row_odd" id="l84"> <td class="vc_file_line_number"><a href="#l84">84</a></td> <td class="vc_file_line_text"> APACHE_SUBST(MODULE_CLEANDIRS)</td> </tr> <tr class="vc_row_odd" id="l85"> <td class="vc_file_line_number"><a href="#l85">85</a></td> <td class="vc_file_line_text"> APACHE_SUBST(PORT)</td> </tr> <tr class="vc_row_odd" id="l86"> <td class="vc_file_line_number"><a href="#l86">86</a></td> <td class="vc_file_line_text"> APACHE_SUBST(SSLPORT)</td> </tr> <tr class="vc_row_odd" id="l87"> <td class="vc_file_line_number"><a href="#l87">87</a></td> <td class="vc_file_line_text"> APACHE_SUBST(CORE_IMPLIB_FILE)</td> </tr> <tr class="vc_row_odd" id="l88"> <td class="vc_file_line_number"><a href="#l88">88</a></td> <td class="vc_file_line_text"> APACHE_SUBST(CORE_IMPLIB)</td> </tr> <tr class="vc_row_odd" id="l89"> <td class="vc_file_line_number"><a href="#l89">89</a></td> <td class="vc_file_line_text"> APACHE_SUBST(SH_LIBS)</td> </tr> <tr class="vc_row_odd" id="l90"> <td class="vc_file_line_number"><a href="#l90">90</a></td> <td class="vc_file_line_text"> APACHE_SUBST(SH_LIBTOOL)</td> </tr> <tr class="vc_row_odd" id="l91"> <td class="vc_file_line_number"><a href="#l91">91</a></td> <td class="vc_file_line_text"> APACHE_SUBST(MK_IMPLIB)</td> </tr> <tr class="vc_row_odd" id="l92"> <td class="vc_file_line_number"><a href="#l92">92</a></td> <td class="vc_file_line_text"> APACHE_SUBST(MKDEP)</td> </tr> <tr class="vc_row_odd" id="l93"> <td class="vc_file_line_number"><a href="#l93">93</a></td> <td class="vc_file_line_text"> APACHE_SUBST(INSTALL_PROG_FLAGS)</td> </tr> <tr class="vc_row_odd" id="l94"> <td class="vc_file_line_number"><a href="#l94">94</a></td> <td class="vc_file_line_text"> APACHE_SUBST(MPM_MODULES)</td> </tr> <tr class="vc_row_odd" id="l95"> <td class="vc_file_line_number"><a href="#l95">95</a></td> <td class="vc_file_line_text"> APACHE_SUBST(ENABLED_MPM_MODULE)</td> </tr> <tr class="vc_row_odd" id="l96"> <td class="vc_file_line_number"><a href="#l96">96</a></td> <td class="vc_file_line_text"> APACHE_SUBST(DSO_MODULES)</td> </tr> <tr class="vc_row_odd" id="l97"> <td class="vc_file_line_number"><a href="#l97">97</a></td> <td class="vc_file_line_text"> APACHE_SUBST(ENABLED_DSO_MODULES)</td> </tr> <tr class="vc_row_odd" id="l98"> <td class="vc_file_line_number"><a href="#l98">98</a></td> <td class="vc_file_line_text"> APACHE_SUBST(LOAD_ALL_MODULES)</td> </tr> <tr class="vc_row_odd" id="l99"> <td class="vc_file_line_number"><a href="#l99">99</a></td> <td class="vc_file_line_text"> APACHE_SUBST(APR_BINDIR)</td> </tr> <tr class="vc_row_odd" id="l100"> <td class="vc_file_line_number"><a href="#l100">100</a></td> <td class="vc_file_line_text"> APACHE_SUBST(APR_INCLUDEDIR)</td> </tr> <tr class="vc_row_odd" id="l101"> <td class="vc_file_line_number"><a href="#l101">101</a></td> <td class="vc_file_line_text"> APACHE_SUBST(APR_VERSION)</td> </tr> <tr class="vc_row_odd" id="l102"> <td class="vc_file_line_number"><a href="#l102">102</a></td> <td class="vc_file_line_text"> APACHE_SUBST(APR_CONFIG)</td> </tr> <tr class="vc_row_odd" id="l103"> <td class="vc_file_line_number"><a href="#l103">103</a></td> <td class="vc_file_line_text"> APACHE_SUBST(APU_BINDIR)</td> </tr> <tr class="vc_row_odd" id="l104"> <td class="vc_file_line_number"><a href="#l104">104</a></td> <td class="vc_file_line_text"> APACHE_SUBST(APU_INCLUDEDIR)</td> </tr> <tr class="vc_row_odd" id="l105"> <td class="vc_file_line_number"><a href="#l105">105</a></td> <td class="vc_file_line_text"> APACHE_SUBST(APU_VERSION)</td> </tr> <tr class="vc_row_odd" id="l106"> <td class="vc_file_line_number"><a href="#l106">106</a></td> <td class="vc_file_line_text"> APACHE_SUBST(APU_CONFIG)</td> </tr> <tr class="vc_row_odd" id="l107"> <td class="vc_file_line_number"><a href="#l107">107</a></td> <td class="vc_file_line_text"></td> </tr> <tr class="vc_row_odd" id="l108"> <td class="vc_file_line_number"><a href="#l108">108</a></td> <td class="vc_file_line_text"> abs_srcdir=&quot;`(cd $srcdir &amp;&amp; pwd)`&quot;</td> </tr> <tr class="vc_row_odd" id="l109"> <td class="vc_file_line_number"><a href="#l109">109</a></td> <td class="vc_file_line_text"></td> </tr> <tr class="vc_row_odd" id="l110"> <td class="vc_file_line_number"><a href="#l110">110</a></td> <td class="vc_file_line_text"> AC_MSG_NOTICE([creating config_vars.mk])</td> </tr> <tr class="vc_row_odd" id="l111"> <td class="vc_file_line_number"><a href="#l111">111</a></td> <td class="vc_file_line_text"> test -d build || $mkdir_p build</td> </tr> <tr class="vc_row_odd" id="l112"> <td class="vc_file_line_number"><a href="#l112">112</a></td> <td class="vc_file_line_text"> &gt; build/config_vars.mk</td> </tr> <tr class="vc_row_odd" id="l113"> <td class="vc_file_line_number"><a href="#l113">113</a></td> <td class="vc_file_line_text"> for i in $APACHE_VAR_SUBST; do</td> </tr> <tr class="vc_row_odd" id="l114"> <td class="vc_file_line_number"><a href="#l114">114</a></td> <td class="vc_file_line_text"> eval echo &quot;$i = \$$i&quot; &gt;&gt; build/config_vars.mk</td> </tr> <tr class="vc_row_odd" id="l115"> <td class="vc_file_line_number"><a href="#l115">115</a></td> <td class="vc_file_line_text"> done</td> </tr> <tr class="vc_row_odd" id="l116"> <td class="vc_file_line_number"><a href="#l116">116</a></td> <td class="vc_file_line_text">])</td> </tr> <tr class="vc_row_odd" id="l117"> <td class="vc_file_line_number"><a href="#l117">117</a></td> <td class="vc_file_line_text"></td> </tr> <tr class="vc_row_odd" id="l118"> <td class="vc_file_line_number"><a href="#l118">118</a></td> <td class="vc_file_line_text">dnl APACHE_GEN_MAKEFILES</td> </tr> <tr class="vc_row_odd" id="l119"> <td class="vc_file_line_number"><a href="#l119">119</a></td> <td class="vc_file_line_text">dnl Creates Makefiles</td> </tr> <tr class="vc_row_odd" id="l120"> <td class="vc_file_line_number"><a href="#l120">120</a></td> <td class="vc_file_line_text">AC_DEFUN([APACHE_GEN_MAKEFILES],[</td> </tr> <tr class="vc_row_odd" id="l121"> <td class="vc_file_line_number"><a href="#l121">121</a></td> <td class="vc_file_line_text"> $SHELL $srcdir/build/fastgen.sh $srcdir $ac_cv_mkdir_p $BSD_MAKEFILE $APACHE_FAST_OUTPUT_FILES</td> </tr> <tr class="vc_row_odd" id="l122"> <td class="vc_file_line_number"><a href="#l122">122</a></td> <td class="vc_file_line_text">])</td> </tr> <tr class="vc_row_odd" id="l123"> <td class="vc_file_line_number"><a href="#l123">123</a></td> <td class="vc_file_line_text"></td> </tr> <tr class="vc_row_odd" id="l124"> <td class="vc_file_line_number"><a href="#l124">124</a></td> <td class="vc_file_line_text">dnl</td> </tr> <tr class="vc_row_odd" id="l125"> <td class="vc_file_line_number"><a href="#l125">125</a></td> <td class="vc_file_line_text">dnl APACHE_TYPE_RLIM_T</td> </tr> <tr class="vc_row_odd" id="l126"> <td class="vc_file_line_number"><a href="#l126">126</a></td> <td class="vc_file_line_text">dnl</td> </tr> <tr class="vc_row_odd" id="l127"> <td class="vc_file_line_number"><a href="#l127">127</a></td> <td class="vc_file_line_text">dnl If rlim_t is not defined, define it to int</td> </tr> <tr class="vc_row_odd" id="l128"> <td class="vc_file_line_number"><a href="#l128">128</a></td> <td class="vc_file_line_text">dnl</td> </tr> <tr class="vc_row_odd" id="l129"> <td class="vc_file_line_number"><a href="#l129">129</a></td> <td class="vc_file_line_text">AC_DEFUN([APACHE_TYPE_RLIM_T], [</td> </tr> <tr class="vc_row_odd" id="l130"> <td class="vc_file_line_number"><a href="#l130">130</a></td> <td class="vc_file_line_text"> AC_CACHE_CHECK([for rlim_t], ac_cv_type_rlim_t, [</td> </tr> <tr class="vc_row_odd" id="l131"> <td class="vc_file_line_number"><a href="#l131">131</a></td> <td class="vc_file_line_text"> AC_TRY_COMPILE([</td> </tr> <tr class="vc_row_odd" id="l132"> <td class="vc_file_line_number"><a href="#l132">132</a></td> <td class="vc_file_line_text">#include &lt;sys/types.h&gt;</td> </tr> <tr class="vc_row_odd" id="l133"> <td class="vc_file_line_number"><a href="#l133">133</a></td> <td class="vc_file_line_text">#include &lt;sys/time.h&gt;</td> </tr> <tr class="vc_row_odd" id="l134"> <td class="vc_file_line_number"><a href="#l134">134</a></td> <td class="vc_file_line_text">#include &lt;sys/resource.h&gt;</td> </tr> <tr class="vc_row_odd" id="l135"> <td class="vc_file_line_number"><a href="#l135">135</a></td> <td class="vc_file_line_text">], [rlim_t spoon;], [</td> </tr> <tr class="vc_row_odd" id="l136"> <td class="vc_file_line_number"><a href="#l136">136</a></td> <td class="vc_file_line_text"> ac_cv_type_rlim_t=yes</td> </tr> <tr class="vc_row_odd" id="l137"> <td class="vc_file_line_number"><a href="#l137">137</a></td> <td class="vc_file_line_text"> ],[ac_cv_type_rlim_t=no</td> </tr> <tr class="vc_row_odd" id="l138"> <td class="vc_file_line_number"><a href="#l138">138</a></td> <td class="vc_file_line_text"> ])</td> </tr> <tr class="vc_row_odd" id="l139"> <td class="vc_file_line_number"><a href="#l139">139</a></td> <td class="vc_file_line_text"> ])</td> </tr> <tr class="vc_row_odd" id="l140"> <td class="vc_file_line_number"><a href="#l140">140</a></td> <td class="vc_file_line_text"> if test &quot;$ac_cv_type_rlim_t&quot; = &quot;no&quot; ; then</td> </tr> <tr class="vc_row_odd" id="l141"> <td class="vc_file_line_number"><a href="#l141">141</a></td> <td class="vc_file_line_text"> AC_DEFINE(rlim_t, int,</td> </tr> <tr class="vc_row_odd" id="l142"> <td class="vc_file_line_number"><a href="#l142">142</a></td> <td class="vc_file_line_text"> [Define to &#39;int&#39; if &lt;sys/resource.h&gt; doesn&#39;t define it for us])</td> </tr> <tr class="vc_row_odd" id="l143"> <td class="vc_file_line_number"><a href="#l143">143</a></td> <td class="vc_file_line_text"> fi</td> </tr> <tr class="vc_row_odd" id="l144"> <td class="vc_file_line_number"><a href="#l144">144</a></td> <td class="vc_file_line_text">])</td> </tr> <tr class="vc_row_odd" id="l145"> <td class="vc_file_line_number"><a href="#l145">145</a></td> <td class="vc_file_line_text"></td> </tr> <tr class="vc_row_odd" id="l146"> <td class="vc_file_line_number"><a href="#l146">146</a></td> <td class="vc_file_line_text">dnl the list of build variables which are available for customization on a</td> </tr> <tr class="vc_row_odd" id="l147"> <td class="vc_file_line_number"><a href="#l147">147</a></td> <td class="vc_file_line_text">dnl per module subdir basis (to be inserted into modules.mk with a &quot;MOD_&quot;</td> </tr> <tr class="vc_row_odd" id="l148"> <td class="vc_file_line_number"><a href="#l148">148</a></td> <td class="vc_file_line_text">dnl prefix, i.e. MOD_CFLAGS etc.). Used in APACHE_MODPATH_{INIT,FINISH}.</td> </tr> <tr class="vc_row_odd" id="l149"> <td class="vc_file_line_number"><a href="#l149">149</a></td> <td class="vc_file_line_text">define(mod_buildvars, [CFLAGS CXXFLAGS CPPFLAGS LDFLAGS LIBS INCLUDES])</td> </tr> <tr class="vc_row_odd" id="l150"> <td class="vc_file_line_number"><a href="#l150">150</a></td> <td class="vc_file_line_text">dnl</td> </tr> <tr class="vc_row_odd" id="l151"> <td class="vc_file_line_number"><a href="#l151">151</a></td> <td class="vc_file_line_text">dnl APACHE_MODPATH_INIT(modpath)</td> </tr> <tr class="vc_row_odd" id="l152"> <td class="vc_file_line_number"><a href="#l152">152</a></td> <td class="vc_file_line_text">AC_DEFUN([APACHE_MODPATH_INIT],[</td> </tr> <tr class="vc_row_odd" id="l153"> <td class="vc_file_line_number"><a href="#l153">153</a></td> <td class="vc_file_line_text"> current_dir=$1</td> </tr> <tr class="vc_row_odd" id="l154"> <td class="vc_file_line_number"><a href="#l154">154</a></td> <td class="vc_file_line_text"> modpath_current=modules/$1</td> </tr> <tr class="vc_row_odd" id="l155"> <td class="vc_file_line_number"><a href="#l155">155</a></td> <td class="vc_file_line_text"> modpath_static=</td> </tr> <tr class="vc_row_odd" id="l156"> <td class="vc_file_line_number"><a href="#l156">156</a></td> <td class="vc_file_line_text"> modpath_shared=</td> </tr> <tr class="vc_row_odd" id="l157"> <td class="vc_file_line_number"><a href="#l157">157</a></td> <td class="vc_file_line_text"> for var in mod_buildvars; do</td> </tr> <tr class="vc_row_odd" id="l158"> <td class="vc_file_line_number"><a href="#l158">158</a></td> <td class="vc_file_line_text"> eval MOD_$var=</td> </tr> <tr class="vc_row_odd" id="l159"> <td class="vc_file_line_number"><a href="#l159">159</a></td> <td class="vc_file_line_text"> done</td> </tr> <tr class="vc_row_odd" id="l160"> <td class="vc_file_line_number"><a href="#l160">160</a></td> <td class="vc_file_line_text"> test -d $1 || $srcdir/build/mkdir.sh $modpath_current</td> </tr> <tr class="vc_row_odd" id="l161"> <td class="vc_file_line_number"><a href="#l161">161</a></td> <td class="vc_file_line_text"> &gt; $modpath_current/modules.mk</td> </tr> <tr class="vc_row_odd" id="l162"> <td class="vc_file_line_number"><a href="#l162">162</a></td> <td class="vc_file_line_text">])dnl</td> </tr> <tr class="vc_row_odd" id="l163"> <td class="vc_file_line_number"><a href="#l163">163</a></td> <td class="vc_file_line_text">dnl</td> </tr> <tr class="vc_row_odd" id="l164"> <td class="vc_file_line_number"><a href="#l164">164</a></td> <td class="vc_file_line_text">AC_DEFUN([APACHE_MODPATH_FINISH],[</td> </tr> <tr class="vc_row_odd" id="l165"> <td class="vc_file_line_number"><a href="#l165">165</a></td> <td class="vc_file_line_text"> echo &quot;DISTCLEAN_TARGETS = modules.mk&quot; &gt;&gt; $modpath_current/modules.mk</td> </tr> <tr class="vc_row_odd" id="l166"> <td class="vc_file_line_number"><a href="#l166">166</a></td> <td class="vc_file_line_text"> echo &quot;static = $modpath_static&quot; &gt;&gt; $modpath_current/modules.mk</td> </tr> <tr class="vc_row_odd" id="l167"> <td class="vc_file_line_number"><a href="#l167">167</a></td> <td class="vc_file_line_text"> echo &quot;shared = $modpath_shared&quot; &gt;&gt; $modpath_current/modules.mk</td> </tr> <tr class="vc_row_odd" id="l168"> <td class="vc_file_line_number"><a href="#l168">168</a></td> <td class="vc_file_line_text"> for var in mod_buildvars; do</td> </tr> <tr class="vc_row_odd" id="l169"> <td class="vc_file_line_number"><a href="#l169">169</a></td> <td class="vc_file_line_text"> if eval val=\&quot;\$MOD_$var\&quot;; test -n &quot;$val&quot;; then</td> </tr> <tr class="vc_row_odd" id="l170"> <td class="vc_file_line_number"><a href="#l170">170</a></td> <td class="vc_file_line_text"> echo &quot;MOD_$var = $val&quot; &gt;&gt; $modpath_current/modules.mk</td> </tr> <tr class="vc_row_odd" id="l171"> <td class="vc_file_line_number"><a href="#l171">171</a></td> <td class="vc_file_line_text"> fi</td> </tr> <tr class="vc_row_odd" id="l172"> <td class="vc_file_line_number"><a href="#l172">172</a></td> <td class="vc_file_line_text"> done</td> </tr> <tr class="vc_row_odd" id="l173"> <td class="vc_file_line_number"><a href="#l173">173</a></td> <td class="vc_file_line_text"> if test ! -z &quot;$modpath_static&quot; -o ! -z &quot;$modpath_shared&quot;; then</td> </tr> <tr class="vc_row_odd" id="l174"> <td class="vc_file_line_number"><a href="#l174">174</a></td> <td class="vc_file_line_text"> MODULE_DIRS=&quot;$MODULE_DIRS $current_dir&quot;</td> </tr> <tr class="vc_row_odd" id="l175"> <td class="vc_file_line_number"><a href="#l175">175</a></td> <td class="vc_file_line_text"> else</td> </tr> <tr class="vc_row_odd" id="l176"> <td class="vc_file_line_number"><a href="#l176">176</a></td> <td class="vc_file_line_text"> MODULE_CLEANDIRS=&quot;$MODULE_CLEANDIRS $current_dir&quot;</td> </tr> <tr class="vc_row_odd" id="l177"> <td class="vc_file_line_number"><a href="#l177">177</a></td> <td class="vc_file_line_text"> fi</td> </tr> <tr class="vc_row_odd" id="l178"> <td class="vc_file_line_number"><a href="#l178">178</a></td> <td class="vc_file_line_text"> APACHE_FAST_OUTPUT($modpath_current/Makefile)</td> </tr> <tr class="vc_row_odd" id="l179"> <td class="vc_file_line_number"><a href="#l179">179</a></td> <td class="vc_file_line_text">])dnl</td> </tr> <tr class="vc_row_odd" id="l180"> <td class="vc_file_line_number"><a href="#l180">180</a></td> <td class="vc_file_line_text">dnl</td> </tr> <tr class="vc_row_odd" id="l181"> <td class="vc_file_line_number"><a href="#l181">181</a></td> <td class="vc_file_line_text">dnl APACHE_MODPATH_ADD(name[, shared[, objects [, ldflags[, libs]]]])</td> </tr> <tr class="vc_row_odd" id="l182"> <td class="vc_file_line_number"><a href="#l182">182</a></td> <td class="vc_file_line_text">AC_DEFUN([APACHE_MODPATH_ADD],[</td> </tr> <tr class="vc_row_odd" id="l183"> <td class="vc_file_line_number"><a href="#l183">183</a></td> <td class="vc_file_line_text"> if test -z &quot;$3&quot;; then</td> </tr> <tr class="vc_row_odd" id="l184"> <td class="vc_file_line_number"><a href="#l184">184</a></td> <td class="vc_file_line_text"> objects=&quot;mod_$1.lo&quot;</td> </tr> <tr class="vc_row_odd" id="l185"> <td class="vc_file_line_number"><a href="#l185">185</a></td> <td class="vc_file_line_text"> else</td> </tr> <tr class="vc_row_odd" id="l186"> <td class="vc_file_line_number"><a href="#l186">186</a></td> <td class="vc_file_line_text"> objects=&quot;$3&quot;</td> </tr> <tr class="vc_row_odd" id="l187"> <td class="vc_file_line_number"><a href="#l187">187</a></td> <td class="vc_file_line_text"> fi</td> </tr> <tr class="vc_row_odd" id="l188"> <td class="vc_file_line_number"><a href="#l188">188</a></td> <td class="vc_file_line_text"></td> </tr> <tr class="vc_row_odd" id="l189"> <td class="vc_file_line_number"><a href="#l189">189</a></td> <td class="vc_file_line_text"> if test -z &quot;$module_standalone&quot;; then</td> </tr> <tr class="vc_row_odd" id="l190"> <td class="vc_file_line_number"><a href="#l190">190</a></td> <td class="vc_file_line_text"> if test -z &quot;$2&quot;; then</td> </tr> <tr class="vc_row_odd" id="l191"> <td class="vc_file_line_number"><a href="#l191">191</a></td> <td class="vc_file_line_text"> # The filename of a convenience library must have a &quot;lib&quot; prefix:</td> </tr> <tr class="vc_row_odd" id="l192"> <td class="vc_file_line_number"><a href="#l192">192</a></td> <td class="vc_file_line_text"> libname=&quot;libmod_$1.la&quot;</td> </tr> <tr class="vc_row_odd" id="l193"> <td class="vc_file_line_number"><a href="#l193">193</a></td> <td class="vc_file_line_text"> BUILTIN_LIBS=&quot;$BUILTIN_LIBS $modpath_current/$libname&quot;</td> </tr> <tr class="vc_row_odd" id="l194"> <td class="vc_file_line_number"><a href="#l194">194</a></td> <td class="vc_file_line_text"> modpath_static=&quot;$modpath_static $libname&quot;</td> </tr> <tr class="vc_row_odd" id="l195"> <td class="vc_file_line_number"><a href="#l195">195</a></td> <td class="vc_file_line_text"> cat &gt;&gt;$modpath_current/modules.mk&lt;&lt;EOF</td> </tr> <tr class="vc_row_odd" id="l196"> <td class="vc_file_line_number"><a href="#l196">196</a></td> <td class="vc_file_line_text">$libname: $objects</td> </tr> <tr class="vc_row_odd" id="l197"> <td class="vc_file_line_number"><a href="#l197">197</a></td> <td class="vc_file_line_text"> \$(MOD_LINK) $objects $5</td> </tr> <tr class="vc_row_odd" id="l198"> <td class="vc_file_line_number"><a href="#l198">198</a></td> <td class="vc_file_line_text">EOF</td> </tr> <tr class="vc_row_odd" id="l199"> <td class="vc_file_line_number"><a href="#l199">199</a></td> <td class="vc_file_line_text"> if test ! -z &quot;$5&quot;; then</td> </tr> <tr class="vc_row_odd" id="l200"> <td class="vc_file_line_number"><a href="#l200">200</a></td> <td class="vc_file_line_text"> APR_ADDTO(AP_LIBS, [$5])</td> </tr> <tr class="vc_row_odd" id="l201"> <td class="vc_file_line_number"><a href="#l201">201</a></td> <td class="vc_file_line_text"> fi</td> </tr> <tr class="vc_row_odd" id="l202"> <td class="vc_file_line_number"><a href="#l202">202</a></td> <td class="vc_file_line_text"> else</td> </tr> <tr class="vc_row_odd" id="l203"> <td class="vc_file_line_number"><a href="#l203">203</a></td> <td class="vc_file_line_text"> apache_need_shared=yes</td> </tr> <tr class="vc_row_odd" id="l204"> <td class="vc_file_line_number"><a href="#l204">204</a></td> <td class="vc_file_line_text"> libname=&quot;mod_$1.la&quot;</td> </tr> <tr class="vc_row_odd" id="l205"> <td class="vc_file_line_number"><a href="#l205">205</a></td> <td class="vc_file_line_text"> shobjects=`echo $objects | sed &#39;s/\.lo/.slo/g&#39;`</td> </tr> <tr class="vc_row_odd" id="l206"> <td class="vc_file_line_number"><a href="#l206">206</a></td> <td class="vc_file_line_text"> modpath_shared=&quot;$modpath_shared $libname&quot;</td> </tr> <tr class="vc_row_odd" id="l207"> <td class="vc_file_line_number"><a href="#l207">207</a></td> <td class="vc_file_line_text"> cat &gt;&gt;$modpath_current/modules.mk&lt;&lt;EOF</td> </tr> <tr class="vc_row_odd" id="l208"> <td class="vc_file_line_number"><a href="#l208">208</a></td> <td class="vc_file_line_text">$libname: $shobjects</td> </tr> <tr class="vc_row_odd" id="l209"> <td class="vc_file_line_number"><a href="#l209">209</a></td> <td class="vc_file_line_text"> \$(SH_LINK) -rpath \$(libexecdir) -module -avoid-version $4 $objects $5</td> </tr> <tr class="vc_row_odd" id="l210"> <td class="vc_file_line_number"><a href="#l210">210</a></td> <td class="vc_file_line_text">EOF</td> </tr> <tr class="vc_row_odd" id="l211"> <td class="vc_file_line_number"><a href="#l211">211</a></td> <td class="vc_file_line_text"> fi</td> </tr> <tr class="vc_row_odd" id="l212"> <td class="vc_file_line_number"><a href="#l212">212</a></td> <td class="vc_file_line_text"> fi</td> </tr> <tr class="vc_row_odd" id="l213"> <td class="vc_file_line_number"><a href="#l213">213</a></td> <td class="vc_file_line_text">])dnl</td> </tr> <tr class="vc_row_odd" id="l214"> <td class="vc_file_line_number"><a href="#l214">214</a></td> <td class="vc_file_line_text"></td> </tr> <tr class="vc_row_odd" id="l215"> <td class="vc_file_line_number"><a href="#l215">215</a></td> <td class="vc_file_line_text">dnl</td> </tr> <tr class="vc_row_odd" id="l216"> <td class="vc_file_line_number"><a href="#l216">216</a></td> <td class="vc_file_line_text">dnl APACHE_MPM_MODULE(name[, shared[, objects[, config[, path[, libs]]]]])</td> </tr> <tr class="vc_row_odd" id="l217"> <td class="vc_file_line_number"><a href="#l217">217</a></td> <td class="vc_file_line_text">dnl</td> </tr> <tr class="vc_row_odd" id="l218"> <td class="vc_file_line_number"><a href="#l218">218</a></td> <td class="vc_file_line_text">dnl Provide information for building the MPM. (Enablement is handled using</td> </tr> <tr class="vc_row_odd" id="l219"> <td class="vc_file_line_number"><a href="#l219">219</a></td> <td class="vc_file_line_text">dnl --with-mpm/--enable-mpms-shared.)</td> </tr> <tr class="vc_row_odd" id="l220"> <td class="vc_file_line_number"><a href="#l220">220</a></td> <td class="vc_file_line_text">dnl</td> </tr> <tr class="vc_row_odd" id="l221"> <td class="vc_file_line_number"><a href="#l221">221</a></td> <td class="vc_file_line_text">dnl name -- name of MPM, same as MPM directory name</td> </tr> <tr class="vc_row_odd" id="l222"> <td class="vc_file_line_number"><a href="#l222">222</a></td> <td class="vc_file_line_text">dnl shared -- &quot;shared&quot; to indicate shared module build, empty string otherwise</td> </tr> <tr class="vc_row_odd" id="l223"> <td class="vc_file_line_number"><a href="#l223">223</a></td> <td class="vc_file_line_text">dnl objects -- one or more .lo files to link into the MPM module (default: mpmname.lo)</td> </tr> <tr class="vc_row_odd" id="l224"> <td class="vc_file_line_number"><a href="#l224">224</a></td> <td class="vc_file_line_text">dnl config -- configuration logic to run if the MPM is enabled</td> </tr> <tr class="vc_row_odd" id="l225"> <td class="vc_file_line_number"><a href="#l225">225</a></td> <td class="vc_file_line_text">dnl path -- relative path to MPM (default: server/mpm/mpmname)</td> </tr> <tr class="vc_row_odd" id="l226"> <td class="vc_file_line_number"><a href="#l226">226</a></td> <td class="vc_file_line_text">dnl libs -- libs needed by this MPM</td> </tr> <tr class="vc_row_odd" id="l227"> <td class="vc_file_line_number"><a href="#l227">227</a></td> <td class="vc_file_line_text">dnl</td> </tr> <tr class="vc_row_odd" id="l228"> <td class="vc_file_line_number"><a href="#l228">228</a></td> <td class="vc_file_line_text">AC_DEFUN([APACHE_MPM_MODULE],[</td> </tr> <tr class="vc_row_odd" id="l229"> <td class="vc_file_line_number"><a href="#l229">229</a></td> <td class="vc_file_line_text"> if ap_mpm_is_enabled $1; then</td> </tr> <tr class="vc_row_odd" id="l230"> <td class="vc_file_line_number"><a href="#l230">230</a></td> <td class="vc_file_line_text"> if test -z &quot;$3&quot;; then</td> </tr> <tr class="vc_row_odd" id="l231"> <td class="vc_file_line_number"><a href="#l231">231</a></td> <td class="vc_file_line_text"> objects=&quot;$1.lo&quot;</td> </tr> <tr class="vc_row_odd" id="l232"> <td class="vc_file_line_number"><a href="#l232">232</a></td> <td class="vc_file_line_text"> else</td> </tr> <tr class="vc_row_odd" id="l233"> <td class="vc_file_line_number"><a href="#l233">233</a></td> <td class="vc_file_line_text"> objects=&quot;$3&quot;</td> </tr> <tr class="vc_row_odd" id="l234"> <td class="vc_file_line_number"><a href="#l234">234</a></td> <td class="vc_file_line_text"> fi</td> </tr> <tr class="vc_row_odd" id="l235"> <td class="vc_file_line_number"><a href="#l235">235</a></td> <td class="vc_file_line_text"></td> </tr> <tr class="vc_row_odd" id="l236"> <td class="vc_file_line_number"><a href="#l236">236</a></td> <td class="vc_file_line_text"> if test -z &quot;$5&quot;; then</td> </tr> <tr class="vc_row_odd" id="l237"> <td class="vc_file_line_number"><a href="#l237">237</a></td> <td class="vc_file_line_text"> mpmpath=&quot;server/mpm/$1&quot;</td> </tr> <tr class="vc_row_odd" id="l238"> <td class="vc_file_line_number"><a href="#l238">238</a></td> <td class="vc_file_line_text"> else</td> </tr> <tr class="vc_row_odd" id="l239"> <td class="vc_file_line_number"><a href="#l239">239</a></td> <td class="vc_file_line_text"> mpmpath=$5</td> </tr> <tr class="vc_row_odd" id="l240"> <td class="vc_file_line_number"><a href="#l240">240</a></td> <td class="vc_file_line_text"> fi</td> </tr> <tr class="vc_row_odd" id="l241"> <td class="vc_file_line_number"><a href="#l241">241</a></td> <td class="vc_file_line_text"></td> </tr> <tr class="vc_row_odd" id="l242"> <td class="vc_file_line_number"><a href="#l242">242</a></td> <td class="vc_file_line_text"> dnl VPATH support</td> </tr> <tr class="vc_row_odd" id="l243"> <td class="vc_file_line_number"><a href="#l243">243</a></td> <td class="vc_file_line_text"> test -d $mpmpath || $srcdir/build/mkdir.sh $mpmpath</td> </tr> <tr class="vc_row_odd" id="l244"> <td class="vc_file_line_number"><a href="#l244">244</a></td> <td class="vc_file_line_text"></td> </tr> <tr class="vc_row_odd" id="l245"> <td class="vc_file_line_number"><a href="#l245">245</a></td> <td class="vc_file_line_text"> APACHE_FAST_OUTPUT($mpmpath/Makefile)</td> </tr> <tr class="vc_row_odd" id="l246"> <td class="vc_file_line_number"><a href="#l246">246</a></td> <td class="vc_file_line_text"></td> </tr> <tr class="vc_row_odd" id="l247"> <td class="vc_file_line_number"><a href="#l247">247</a></td> <td class="vc_file_line_text"> if test -z &quot;$2&quot;; then</td> </tr> <tr class="vc_row_odd" id="l248"> <td class="vc_file_line_number"><a href="#l248">248</a></td> <td class="vc_file_line_text"> APR_ADDTO(AP_LIBS, [$6])</td> </tr> <tr class="vc_row_odd" id="l249"> <td class="vc_file_line_number"><a href="#l249">249</a></td> <td class="vc_file_line_text"> libname=&quot;lib$1.la&quot;</td> </tr> <tr class="vc_row_odd" id="l250"> <td class="vc_file_line_number"><a href="#l250">250</a></td> <td class="vc_file_line_text"> cat &gt;$mpmpath/modules.mk&lt;&lt;EOF</td> </tr> <tr class="vc_row_odd" id="l251"> <td class="vc_file_line_number"><a href="#l251">251</a></td> <td class="vc_file_line_text">$libname: $objects</td> </tr> <tr class="vc_row_odd" id="l252"> <td class="vc_file_line_number"><a href="#l252">252</a></td> <td class="vc_file_line_text"> \$(MOD_LINK) $objects</td> </tr> <tr class="vc_row_odd" id="l253"> <td class="vc_file_line_number"><a href="#l253">253</a></td> <td class="vc_file_line_text">DISTCLEAN_TARGETS = modules.mk</td> </tr> <tr class="vc_row_odd" id="l254"> <td class="vc_file_line_number"><a href="#l254">254</a></td> <td class="vc_file_line_text">static = $libname</td> </tr> <tr class="vc_row_odd" id="l255"> <td class="vc_file_line_number"><a href="#l255">255</a></td> <td class="vc_file_line_text">shared =</td> </tr> <tr class="vc_row_odd" id="l256"> <td class="vc_file_line_number"><a href="#l256">256</a></td> <td class="vc_file_line_text">EOF</td> </tr> <tr class="vc_row_odd" id="l257"> <td class="vc_file_line_number"><a href="#l257">257</a></td> <td class="vc_file_line_text"> else</td> </tr> <tr class="vc_row_odd" id="l258"> <td class="vc_file_line_number"><a href="#l258">258</a></td> <td class="vc_file_line_text"> apache_need_shared=yes</td> </tr> <tr class="vc_row_odd" id="l259"> <td class="vc_file_line_number"><a href="#l259">259</a></td> <td class="vc_file_line_text"> libname=&quot;mod_mpm_$1.la&quot;</td> </tr> <tr class="vc_row_odd" id="l260"> <td class="vc_file_line_number"><a href="#l260">260</a></td> <td class="vc_file_line_text"> shobjects=`echo $objects | sed &#39;s/\.lo/.slo/g&#39;`</td> </tr> <tr class="vc_row_odd" id="l261"> <td class="vc_file_line_number"><a href="#l261">261</a></td> <td class="vc_file_line_text"> cat &gt;$mpmpath/modules.mk&lt;&lt;EOF</td> </tr> <tr class="vc_row_odd" id="l262"> <td class="vc_file_line_number"><a href="#l262">262</a></td> <td class="vc_file_line_text">$libname: $shobjects</td> </tr> <tr class="vc_row_odd" id="l263"> <td class="vc_file_line_number"><a href="#l263">263</a></td> <td class="vc_file_line_text"> \$(SH_LINK) -rpath \$(libexecdir) -module -avoid-version $objects $6</td> </tr> <tr class="vc_row_odd" id="l264"> <td class="vc_file_line_number"><a href="#l264">264</a></td> <td class="vc_file_line_text">DISTCLEAN_TARGETS = modules.mk</td> </tr> <tr class="vc_row_odd" id="l265"> <td class="vc_file_line_number"><a href="#l265">265</a></td> <td class="vc_file_line_text">static =</td> </tr> <tr class="vc_row_odd" id="l266"> <td class="vc_file_line_number"><a href="#l266">266</a></td> <td class="vc_file_line_text">shared = $libname</td> </tr> <tr class="vc_row_odd" id="l267"> <td class="vc_file_line_number"><a href="#l267">267</a></td> <td class="vc_file_line_text">EOF</td> </tr> <tr class="vc_row_odd" id="l268"> <td class="vc_file_line_number"><a href="#l268">268</a></td> <td class="vc_file_line_text"> MPM_MODULES=&quot;$MPM_MODULES mpm_$1&quot;</td> </tr> <tr class="vc_row_odd" id="l269"> <td class="vc_file_line_number"><a href="#l269">269</a></td> <td class="vc_file_line_text"> # add default MPM to LoadModule list</td> </tr> <tr class="vc_row_odd" id="l270"> <td class="vc_file_line_number"><a href="#l270">270</a></td> <td class="vc_file_line_text"> if test $1 = $default_mpm; then</td> </tr> <tr class="vc_row_odd" id="l271"> <td class="vc_file_line_number"><a href="#l271">271</a></td> <td class="vc_file_line_text"> ENABLED_MPM_MODULE=&quot;mpm_$1&quot;</td> </tr> <tr class="vc_row_odd" id="l272"> <td class="vc_file_line_number"><a href="#l272">272</a></td> <td class="vc_file_line_text"> fi</td> </tr> <tr class="vc_row_odd" id="l273"> <td class="vc_file_line_number"><a href="#l273">273</a></td> <td class="vc_file_line_text"> fi</td> </tr> <tr class="vc_row_odd" id="l274"> <td class="vc_file_line_number"><a href="#l274">274</a></td> <td class="vc_file_line_text"> $4</td> </tr> <tr class="vc_row_odd" id="l275"> <td class="vc_file_line_number"><a href="#l275">275</a></td> <td class="vc_file_line_text"> fi</td> </tr> <tr class="vc_row_odd" id="l276"> <td class="vc_file_line_number"><a href="#l276">276</a></td> <td class="vc_file_line_text">])dnl</td> </tr> <tr class="vc_row_odd" id="l277"> <td class="vc_file_line_number"><a href="#l277">277</a></td> <td class="vc_file_line_text"></td> </tr> <tr class="vc_row_odd" id="l278"> <td class="vc_file_line_number"><a href="#l278">278</a></td> <td class="vc_file_line_text">dnl</td> </tr> <tr class="vc_row_odd" id="l279"> <td class="vc_file_line_number"><a href="#l279">279</a></td> <td class="vc_file_line_text">dnl APACHE_MODULE(name, helptext[, objects[, structname[, default[, config[, prereq_module]]]]])</td> </tr> <tr class="vc_row_odd" id="l280"> <td class="vc_file_line_number"><a href="#l280">280</a></td> <td class="vc_file_line_text">dnl</td> </tr> <tr class="vc_row_odd" id="l281"> <td class="vc_file_line_number"><a href="#l281">281</a></td> <td class="vc_file_line_text">dnl default is one of:</td> </tr> <tr class="vc_row_odd" id="l282"> <td class="vc_file_line_number"><a href="#l282">282</a></td> <td class="vc_file_line_text">dnl yes -- enabled by default. user must explicitly disable.</td> </tr> <tr class="vc_row_odd" id="l283"> <td class="vc_file_line_number"><a href="#l283">283</a></td> <td class="vc_file_line_text">dnl no -- disabled under default, most, all. user must explicitly enable.</td> </tr> <tr class="vc_row_odd" id="l284"> <td class="vc_file_line_number"><a href="#l284">284</a></td> <td class="vc_file_line_text">dnl most -- disabled by default. enabled explicitly or with most or all.</td> </tr> <tr class="vc_row_odd" id="l285"> <td class="vc_file_line_number"><a href="#l285">285</a></td> <td class="vc_file_line_text">dnl static -- enabled as static by default, must be explicitly changed.</td> </tr> <tr class="vc_row_odd" id="l286"> <td class="vc_file_line_number"><a href="#l286">286</a></td> <td class="vc_file_line_text">dnl &quot;&quot; -- disabled under default, most. enabled explicitly or with all.</td> </tr> <tr class="vc_row_odd" id="l287"> <td class="vc_file_line_number"><a href="#l287">287</a></td> <td class="vc_file_line_text">dnl XXX: The arg must really be empty here. Passing an empty shell</td> </tr> <tr class="vc_row_odd" id="l288"> <td class="vc_file_line_number"><a href="#l288">288</a></td> <td class="vc_file_line_text">dnl XXX: variable doesn&#39;t work for some reason. This should be</td> </tr> <tr class="vc_row_odd" id="l289"> <td class="vc_file_line_number"><a href="#l289">289</a></td> <td class="vc_file_line_text">dnl XXX: fixed.</td> </tr> <tr class="vc_row_odd" id="l290"> <td class="vc_file_line_number"><a href="#l290">290</a></td> <td class="vc_file_line_text">dnl</td> </tr> <tr class="vc_row_odd" id="l291"> <td class="vc_file_line_number"><a href="#l291">291</a></td> <td class="vc_file_line_text">dnl basically: yes/no is a hard setting. &quot;most&quot; means follow the &quot;most&quot;</td> </tr> <tr class="vc_row_odd" id="l292"> <td class="vc_file_line_number"><a href="#l292">292</a></td> <td class="vc_file_line_text">dnl setting. otherwise, fall under the &quot;all&quot; setting.</td> </tr> <tr class="vc_row_odd" id="l293"> <td class="vc_file_line_number"><a href="#l293">293</a></td> <td class="vc_file_line_text">dnl explicit yes/no always overrides, except if the user selects</td> </tr> <tr class="vc_row_odd" id="l294"> <td class="vc_file_line_number"><a href="#l294">294</a></td> <td class="vc_file_line_text">dnl &quot;reallyall&quot;.</td> </tr> <tr class="vc_row_odd" id="l295"> <td class="vc_file_line_number"><a href="#l295">295</a></td> <td class="vc_file_line_text">dnl</td> </tr> <tr class="vc_row_odd" id="l296"> <td class="vc_file_line_number"><a href="#l296">296</a></td> <td class="vc_file_line_text">dnl prereq_module is a module (without the &quot;mod_&quot; prefix) that must be enabled</td> </tr> <tr class="vc_row_odd" id="l297"> <td class="vc_file_line_number"><a href="#l297">297</a></td> <td class="vc_file_line_text">dnl if the current module is enabled. If the current module is built</td> </tr> <tr class="vc_row_odd" id="l298"> <td class="vc_file_line_number"><a href="#l298">298</a></td> <td class="vc_file_line_text">dnl statically, prereq_module must be built statically, too. If these</td> </tr> <tr class="vc_row_odd" id="l299"> <td class="vc_file_line_number"><a href="#l299">299</a></td> <td class="vc_file_line_text">dnl conditions are not fulfilled, configure will abort if the current module</td> </tr> <tr class="vc_row_odd" id="l300"> <td class="vc_file_line_number"><a href="#l300">300</a></td> <td class="vc_file_line_text">dnl has been enabled explicitly. Otherwise, configure will disable the</td> </tr> <tr class="vc_row_odd" id="l301"> <td class="vc_file_line_number"><a href="#l301">301</a></td> <td class="vc_file_line_text">dnl current module.</td> </tr> <tr class="vc_row_odd" id="l302"> <td class="vc_file_line_number"><a href="#l302">302</a></td> <td class="vc_file_line_text">dnl prereq_module&#39;s APACHE_MODULE() statement must have been processed</td> </tr> <tr class="vc_row_odd" id="l303"> <td class="vc_file_line_number"><a href="#l303">303</a></td> <td class="vc_file_line_text">dnl before the current APACHE_MODULE() statement.</td> </tr> <tr class="vc_row_odd" id="l304"> <td class="vc_file_line_number"><a href="#l304">304</a></td> <td class="vc_file_line_text">dnl</td> </tr> <tr class="vc_row_odd" id="l305"> <td class="vc_file_line_number"><a href="#l305">305</a></td> <td class="vc_file_line_text">AC_DEFUN([APACHE_MODULE],[</td> </tr> <tr class="vc_row_odd" id="l306"> <td class="vc_file_line_number"><a href="#l306">306</a></td> <td class="vc_file_line_text"> AC_MSG_CHECKING(whether to enable mod_$1)</td> </tr> <tr class="vc_row_odd" id="l307"> <td class="vc_file_line_number"><a href="#l307">307</a></td> <td class="vc_file_line_text"> define([optname],[--]ifelse($5,yes,disable,enable)[-]translit($1,_,-))dnl</td> </tr> <tr class="vc_row_odd" id="l308"> <td class="vc_file_line_number"><a href="#l308">308</a></td> <td class="vc_file_line_text"> AC_ARG_ENABLE(translit($1,_,-),APACHE_HELP_STRING(optname(),$2),force_$1=$enableval,enable_$1=ifelse($5,,maybe-all,$5))</td> </tr> <tr class="vc_row_odd" id="l309"> <td class="vc_file_line_number"><a href="#l309">309</a></td> <td class="vc_file_line_text"> undefine([optname])dnl</td> </tr> <tr class="vc_row_odd" id="l310"> <td class="vc_file_line_number"><a href="#l310">310</a></td> <td class="vc_file_line_text"> _apmod_extra_msg=&quot;&quot;</td> </tr> <tr class="vc_row_odd" id="l311"> <td class="vc_file_line_number"><a href="#l311">311</a></td> <td class="vc_file_line_text"> dnl If the module was not explicitly requested, allow it to disable itself if</td> </tr> <tr class="vc_row_odd" id="l312"> <td class="vc_file_line_number"><a href="#l312">312</a></td> <td class="vc_file_line_text"> dnl its pre-reqs fail.</td> </tr> <tr class="vc_row_odd" id="l313"> <td class="vc_file_line_number"><a href="#l313">313</a></td> <td class="vc_file_line_text"> case &quot;$enable_$1&quot; in</td> </tr> <tr class="vc_row_odd" id="l314"> <td class="vc_file_line_number"><a href="#l314">314</a></td> <td class="vc_file_line_text"> yes|static|shared)</td> </tr> <tr class="vc_row_odd" id="l315"> <td class="vc_file_line_number"><a href="#l315">315</a></td> <td class="vc_file_line_text"> _apmod_required=&quot;yes&quot;</td> </tr> <tr class="vc_row_odd" id="l316"> <td class="vc_file_line_number"><a href="#l316">316</a></td> <td class="vc_file_line_text"> ;;</td> </tr> <tr class="vc_row_odd" id="l317"> <td class="vc_file_line_number"><a href="#l317">317</a></td> <td class="vc_file_line_text"> *)</td> </tr> <tr class="vc_row_odd" id="l318"> <td class="vc_file_line_number"><a href="#l318">318</a></td> <td class="vc_file_line_text"> _apmod_required=&quot;no&quot;</td> </tr> <tr class="vc_row_odd" id="l319"> <td class="vc_file_line_number"><a href="#l319">319</a></td> <td class="vc_file_line_text"> ;;</td> </tr> <tr class="vc_row_odd" id="l320"> <td class="vc_file_line_number"><a href="#l320">320</a></td> <td class="vc_file_line_text"> esac</td> </tr> <tr class="vc_row_odd" id="l321"> <td class="vc_file_line_number"><a href="#l321">321</a></td> <td class="vc_file_line_text"> if test &quot;$enable_$1&quot; = &quot;static&quot; -o &quot;$enable_$1&quot; = &quot;shared&quot;; then</td> </tr> <tr class="vc_row_odd" id="l322"> <td class="vc_file_line_number"><a href="#l322">322</a></td> <td class="vc_file_line_text"> :</td> </tr> <tr class="vc_row_odd" id="l323"> <td class="vc_file_line_number"><a href="#l323">323</a></td> <td class="vc_file_line_text"> elif test &quot;$enable_$1&quot; = &quot;yes&quot;; then</td> </tr> <tr class="vc_row_odd" id="l324"> <td class="vc_file_line_number"><a href="#l324">324</a></td> <td class="vc_file_line_text"> enable_$1=$module_default</td> </tr> <tr class="vc_row_odd" id="l325"> <td class="vc_file_line_number"><a href="#l325">325</a></td> <td class="vc_file_line_text"> elif test &quot;$enable_$1&quot; = &quot;few&quot;; then</td> </tr> <tr class="vc_row_odd" id="l326"> <td class="vc_file_line_number"><a href="#l326">326</a></td> <td class="vc_file_line_text"> if test &quot;$module_selection&quot; = &quot;few&quot; -o &quot;$module_selection&quot; = &quot;most&quot; -o \</td> </tr> <tr class="vc_row_odd" id="l327"> <td class="vc_file_line_number"><a href="#l327">327</a></td> <td class="vc_file_line_text"> &quot;$module_selection&quot; = &quot;all&quot; -o &quot;$module_selection&quot; = &quot;reallyall&quot;</td> </tr> <tr class="vc_row_odd" id="l328"> <td class="vc_file_line_number"><a href="#l328">328</a></td> <td class="vc_file_line_text"> then</td> </tr> <tr class="vc_row_odd" id="l329"> <td class="vc_file_line_number"><a href="#l329">329</a></td> <td class="vc_file_line_text"> enable_$1=$module_default</td> </tr> <tr class="vc_row_odd" id="l330"> <td class="vc_file_line_number"><a href="#l330">330</a></td> <td class="vc_file_line_text"> else</td> </tr> <tr class="vc_row_odd" id="l331"> <td class="vc_file_line_number"><a href="#l331">331</a></td> <td class="vc_file_line_text"> enable_$1=no</td> </tr> <tr class="vc_row_odd" id="l332"> <td class="vc_file_line_number"><a href="#l332">332</a></td> <td class="vc_file_line_text"> fi</td> </tr> <tr class="vc_row_odd" id="l333"> <td class="vc_file_line_number"><a href="#l333">333</a></td> <td class="vc_file_line_text"> _apmod_extra_msg=&quot; ($module_selection)&quot;</td> </tr> <tr class="vc_row_odd" id="l334"> <td class="vc_file_line_number"><a href="#l334">334</a></td> <td class="vc_file_line_text"> elif test &quot;$enable_$1&quot; = &quot;most&quot;; then</td> </tr> <tr class="vc_row_odd" id="l335"> <td class="vc_file_line_number"><a href="#l335">335</a></td> <td class="vc_file_line_text"> if test &quot;$module_selection&quot; = &quot;most&quot; -o &quot;$module_selection&quot; = &quot;all&quot; -o \</td> </tr> <tr class="vc_row_odd" id="l336"> <td class="vc_file_line_number"><a href="#l336">336</a></td> <td class="vc_file_line_text"> &quot;$module_selection&quot; = &quot;reallyall&quot;</td> </tr> <tr class="vc_row_odd" id="l337"> <td class="vc_file_line_number"><a href="#l337">337</a></td> <td class="vc_file_line_text"> then</td> </tr> <tr class="vc_row_odd" id="l338"> <td class="vc_file_line_number"><a href="#l338">338</a></td> <td class="vc_file_line_text"> enable_$1=$module_default</td> </tr> <tr class="vc_row_odd" id="l339"> <td class="vc_file_line_number"><a href="#l339">339</a></td> <td class="vc_file_line_text"> else</td> </tr> <tr class="vc_row_odd" id="l340"> <td class="vc_file_line_number"><a href="#l340">340</a></td> <td class="vc_file_line_text"> enable_$1=no</td> </tr> <tr class="vc_row_odd" id="l341"> <td class="vc_file_line_number"><a href="#l341">341</a></td> <td class="vc_file_line_text"> fi</td> </tr> <tr class="vc_row_odd" id="l342"> <td class="vc_file_line_number"><a href="#l342">342</a></td> <td class="vc_file_line_text"> _apmod_extra_msg=&quot; ($module_selection)&quot;</td> </tr> <tr class="vc_row_odd" id="l343"> <td class="vc_file_line_number"><a href="#l343">343</a></td> <td class="vc_file_line_text"> elif test &quot;$enable_$1&quot; = &quot;all&quot; -o &quot;$enable_$1&quot; = &quot;maybe-all&quot;; then</td> </tr> <tr class="vc_row_odd" id="l344"> <td class="vc_file_line_number"><a href="#l344">344</a></td> <td class="vc_file_line_text"> if test &quot;$module_selection&quot; = &quot;all&quot; -o &quot;$module_selection&quot; = &quot;reallyall&quot;</td> </tr> <tr class="vc_row_odd" id="l345"> <td class="vc_file_line_number"><a href="#l345">345</a></td> <td class="vc_file_line_text"> then</td> </tr> <tr class="vc_row_odd" id="l346"> <td class="vc_file_line_number"><a href="#l346">346</a></td> <td class="vc_file_line_text"> enable_$1=$module_default</td> </tr> <tr class="vc_row_odd" id="l347"> <td class="vc_file_line_number"><a href="#l347">347</a></td> <td class="vc_file_line_text"> _apmod_extra_msg=&quot; ($module_selection)&quot;</td> </tr> <tr class="vc_row_odd" id="l348"> <td class="vc_file_line_number"><a href="#l348">348</a></td> <td class="vc_file_line_text"> else</td> </tr> <tr class="vc_row_odd" id="l349"> <td class="vc_file_line_number"><a href="#l349">349</a></td> <td class="vc_file_line_text"> enable_$1=no</td> </tr> <tr class="vc_row_odd" id="l350"> <td class="vc_file_line_number"><a href="#l350">350</a></td> <td class="vc_file_line_text"> fi</td> </tr> <tr class="vc_row_odd" id="l351"> <td class="vc_file_line_number"><a href="#l351">351</a></td> <td class="vc_file_line_text"> elif test &quot;$enable_$1&quot; = &quot;reallyall&quot; -o &quot;$enable_$1&quot; = &quot;no&quot; ; then</td> </tr> <tr class="vc_row_odd" id="l352"> <td class="vc_file_line_number"><a href="#l352">352</a></td> <td class="vc_file_line_text"> if test &quot;$module_selection&quot; = &quot;reallyall&quot; -a &quot;$force_$1&quot; != &quot;no&quot; ; then</td> </tr> <tr class="vc_row_odd" id="l353"> <td class="vc_file_line_number"><a href="#l353">353</a></td> <td class="vc_file_line_text"> enable_$1=$module_default</td> </tr> <tr class="vc_row_odd" id="l354"> <td class="vc_file_line_number"><a href="#l354">354</a></td> <td class="vc_file_line_text"> _apmod_extra_msg=&quot; ($module_selection)&quot;</td> </tr> <tr class="vc_row_odd" id="l355"> <td class="vc_file_line_number"><a href="#l355">355</a></td> <td class="vc_file_line_text"> else</td> </tr> <tr class="vc_row_odd" id="l356"> <td class="vc_file_line_number"><a href="#l356">356</a></td> <td class="vc_file_line_text"> enable_$1=no</td> </tr> <tr class="vc_row_odd" id="l357"> <td class="vc_file_line_number"><a href="#l357">357</a></td> <td class="vc_file_line_text"> fi</td> </tr> <tr class="vc_row_odd" id="l358"> <td class="vc_file_line_number"><a href="#l358">358</a></td> <td class="vc_file_line_text"> else</td> </tr> <tr class="vc_row_odd" id="l359"> <td class="vc_file_line_number"><a href="#l359">359</a></td> <td class="vc_file_line_text"> enable_$1=no</td> </tr> <tr class="vc_row_odd" id="l360"> <td class="vc_file_line_number"><a href="#l360">360</a></td> <td class="vc_file_line_text"> fi</td> </tr> <tr class="vc_row_odd" id="l361"> <td class="vc_file_line_number"><a href="#l361">361</a></td> <td class="vc_file_line_text"> if test &quot;$enable_$1&quot; != &quot;no&quot;; then</td> </tr> <tr class="vc_row_odd" id="l362"> <td class="vc_file_line_number"><a href="#l362">362</a></td> <td class="vc_file_line_text"> dnl If we plan to enable it, allow the module to run some autoconf magic</td> </tr> <tr class="vc_row_odd" id="l363"> <td class="vc_file_line_number"><a href="#l363">363</a></td> <td class="vc_file_line_text"> dnl that may disable it because of missing dependencies.</td> </tr> <tr class="vc_row_odd" id="l364"> <td class="vc_file_line_number"><a href="#l364">364</a></td> <td class="vc_file_line_text"> ifelse([$6$7],,:,</td> </tr> <tr class="vc_row_odd" id="l365"> <td class="vc_file_line_number"><a href="#l365">365</a></td> <td class="vc_file_line_text"> [AC_MSG_RESULT([checking dependencies])</td> </tr> <tr class="vc_row_odd" id="l366"> <td class="vc_file_line_number"><a href="#l366">366</a></td> <td class="vc_file_line_text"> ifelse([$7],,:,[m4_foreach([prereq],[$7],</td> </tr> <tr class="vc_row_odd" id="l367"> <td class="vc_file_line_number"><a href="#l367">367</a></td> <td class="vc_file_line_text"> [if test &quot;$enable_[]prereq&quot; = &quot;no&quot; ; then</td> </tr> <tr class="vc_row_odd" id="l368"> <td class="vc_file_line_number"><a href="#l368">368</a></td> <td class="vc_file_line_text"> enable_$1=no</td> </tr> <tr class="vc_row_odd" id="l369"> <td class="vc_file_line_number"><a href="#l369">369</a></td> <td class="vc_file_line_text"> AC_MSG_WARN(&quot;mod_[]prereq is disabled but required for mod_$1&quot;)</td> </tr> <tr class="vc_row_odd" id="l370"> <td class="vc_file_line_number"><a href="#l370">370</a></td> <td class="vc_file_line_text"> elif test &quot;$enable_$1&quot; = &quot;static&quot; &amp;&amp; test &quot;$enable_[]prereq&quot; != &quot;static&quot; ; then</td> </tr> <tr class="vc_row_odd" id="l371"> <td class="vc_file_line_number"><a href="#l371">371</a></td> <td class="vc_file_line_text"> enable_$1=$enable_[]prereq</td> </tr> <tr class="vc_row_odd" id="l372"> <td class="vc_file_line_number"><a href="#l372">372</a></td> <td class="vc_file_line_text"> AC_MSG_WARN(&quot;building mod_$1 shared because mod_[]prereq is built shared&quot;)</td> </tr> <tr class="vc_row_odd" id="l373"> <td class="vc_file_line_number"><a href="#l373">373</a></td> <td class="vc_file_line_text"> el])se])</td> </tr> <tr class="vc_row_odd" id="l374"> <td class="vc_file_line_number"><a href="#l374">374</a></td> <td class="vc_file_line_text"> ifelse([$6],,:,[ $6])</td> </tr> <tr class="vc_row_odd" id="l375"> <td class="vc_file_line_number"><a href="#l375">375</a></td> <td class="vc_file_line_text"> ifelse([$7],,:,[fi])</td> </tr> <tr class="vc_row_odd" id="l376"> <td class="vc_file_line_number"><a href="#l376">376</a></td> <td class="vc_file_line_text"> AC_MSG_CHECKING(whether to enable mod_$1)</td> </tr> <tr class="vc_row_odd" id="l377"> <td class="vc_file_line_number"><a href="#l377">377</a></td> <td class="vc_file_line_text"> if test &quot;$enable_$1&quot; = &quot;no&quot;; then</td> </tr> <tr class="vc_row_odd" id="l378"> <td class="vc_file_line_number"><a href="#l378">378</a></td> <td class="vc_file_line_text"> if test &quot;$_apmod_required&quot; = &quot;no&quot;; then</td> </tr> <tr class="vc_row_odd" id="l379"> <td class="vc_file_line_number"><a href="#l379">379</a></td> <td class="vc_file_line_text"> _apmod_extra_msg=&quot; (disabled)&quot;</td> </tr> <tr class="vc_row_odd" id="l380"> <td class="vc_file_line_number"><a href="#l380">380</a></td> <td class="vc_file_line_text"> else</td> </tr> <tr class="vc_row_odd" id="l381"> <td class="vc_file_line_number"><a href="#l381">381</a></td> <td class="vc_file_line_text"> AC_MSG_ERROR([mod_$1 has been requested but can not be built due to prerequisite failures])</td> </tr> <tr class="vc_row_odd" id="l382"> <td class="vc_file_line_number"><a href="#l382">382</a></td> <td class="vc_file_line_text"> fi</td> </tr> <tr class="vc_row_odd" id="l383"> <td class="vc_file_line_number"><a href="#l383">383</a></td> <td class="vc_file_line_text"> fi])</td> </tr> <tr class="vc_row_odd" id="l384"> <td class="vc_file_line_number"><a href="#l384">384</a></td> <td class="vc_file_line_text"> fi</td> </tr> <tr class="vc_row_odd" id="l385"> <td class="vc_file_line_number"><a href="#l385">385</a></td> <td class="vc_file_line_text"> AC_MSG_RESULT($enable_$1$_apmod_extra_msg)</td> </tr> <tr class="vc_row_odd" id="l386"> <td class="vc_file_line_number"><a href="#l386">386</a></td> <td class="vc_file_line_text"> if test &quot;$enable_$1&quot; != &quot;no&quot;; then</td> </tr> <tr class="vc_row_odd" id="l387"> <td class="vc_file_line_number"><a href="#l387">387</a></td> <td class="vc_file_line_text"> case &quot;$enable_$1&quot; in</td> </tr> <tr class="vc_row_odd" id="l388"> <td class="vc_file_line_number"><a href="#l388">388</a></td> <td class="vc_file_line_text"> static*)</td> </tr> <tr class="vc_row_odd" id="l389"> <td class="vc_file_line_number"><a href="#l389">389</a></td> <td class="vc_file_line_text"> MODLIST=&quot;$MODLIST ifelse($4,,$1,$4)&quot;</td> </tr> <tr class="vc_row_odd" id="l390"> <td class="vc_file_line_number"><a href="#l390">390</a></td> <td class="vc_file_line_text"> if test &quot;$1&quot; = &quot;so&quot;; then</td> </tr> <tr class="vc_row_odd" id="l391"> <td class="vc_file_line_number"><a href="#l391">391</a></td> <td class="vc_file_line_text"> sharedobjs=yes</td> </tr> <tr class="vc_row_odd" id="l392"> <td class="vc_file_line_number"><a href="#l392">392</a></td> <td class="vc_file_line_text"> fi</td> </tr> <tr class="vc_row_odd" id="l393"> <td class="vc_file_line_number"><a href="#l393">393</a></td> <td class="vc_file_line_text"> shared=&quot;&quot;;;</td> </tr> <tr class="vc_row_odd" id="l394"> <td class="vc_file_line_number"><a href="#l394">394</a></td> <td class="vc_file_line_text"> *)</td> </tr> <tr class="vc_row_odd" id="l395"> <td class="vc_file_line_number"><a href="#l395">395</a></td> <td class="vc_file_line_text"> sharedobjs=yes</td> </tr> <tr class="vc_row_odd" id="l396"> <td class="vc_file_line_number"><a href="#l396">396</a></td> <td class="vc_file_line_text"> shared=yes</td> </tr> <tr class="vc_row_odd" id="l397"> <td class="vc_file_line_number"><a href="#l397">397</a></td> <td class="vc_file_line_text"> DSO_MODULES=&quot;$DSO_MODULES $1&quot;</td> </tr> <tr class="vc_row_odd" id="l398"> <td class="vc_file_line_number"><a href="#l398">398</a></td> <td class="vc_file_line_text"> if test &quot;$5&quot; = &quot;yes&quot; ; then</td> </tr> <tr class="vc_row_odd" id="l399"> <td class="vc_file_line_number"><a href="#l399">399</a></td> <td class="vc_file_line_text"> ENABLED_DSO_MODULES=&quot;${ENABLED_DSO_MODULES},$1&quot;</td> </tr> <tr class="vc_row_odd" id="l400"> <td class="vc_file_line_number"><a href="#l400">400</a></td> <td class="vc_file_line_text"> fi</td> </tr> <tr class="vc_row_odd" id="l401"> <td class="vc_file_line_number"><a href="#l401">401</a></td> <td class="vc_file_line_text"> ;;</td> </tr> <tr class="vc_row_odd" id="l402"> <td class="vc_file_line_number"><a href="#l402">402</a></td> <td class="vc_file_line_text"> esac</td> </tr> <tr class="vc_row_odd" id="l403"> <td class="vc_file_line_number"><a href="#l403">403</a></td> <td class="vc_file_line_text"> define([modprefix], [MOD_]translit($1, [a-z-], [A-Z_]))</td> </tr> <tr class="vc_row_odd" id="l404"> <td class="vc_file_line_number"><a href="#l404">404</a></td> <td class="vc_file_line_text"> APACHE_MODPATH_ADD($1, $shared, $3,, [\$(]modprefix[_LDADD)])</td> </tr> <tr class="vc_row_odd" id="l405"> <td class="vc_file_line_number"><a href="#l405">405</a></td> <td class="vc_file_line_text"> APACHE_SUBST(modprefix[_LDADD])</td> </tr> <tr class="vc_row_odd" id="l406"> <td class="vc_file_line_number"><a href="#l406">406</a></td> <td class="vc_file_line_text"> undefine([modprefix])</td> </tr> <tr class="vc_row_odd" id="l407"> <td class="vc_file_line_number"><a href="#l407">407</a></td> <td class="vc_file_line_text"> fi</td> </tr> <tr class="vc_row_odd" id="l408"> <td class="vc_file_line_number"><a href="#l408">408</a></td> <td class="vc_file_line_text">])dnl</td> </tr> <tr class="vc_row_odd" id="l409"> <td class="vc_file_line_number"><a href="#l409">409</a></td> <td class="vc_file_line_text"></td> </tr> <tr class="vc_row_odd" id="l410"> <td class="vc_file_line_number"><a href="#l410">410</a></td> <td class="vc_file_line_text">dnl</td> </tr> <tr class="vc_row_odd" id="l411"> <td class="vc_file_line_number"><a href="#l411">411</a></td> <td class="vc_file_line_text">dnl APACHE_ENABLE_MODULES</td> </tr> <tr class="vc_row_odd" id="l412"> <td class="vc_file_line_number"><a href="#l412">412</a></td> <td class="vc_file_line_text">dnl</td> </tr> <tr class="vc_row_odd" id="l413"> <td class="vc_file_line_number"><a href="#l413">413</a></td> <td class="vc_file_line_text">AC_DEFUN([APACHE_ENABLE_MODULES],[</td> </tr> <tr class="vc_row_odd" id="l414"> <td class="vc_file_line_number"><a href="#l414">414</a></td> <td class="vc_file_line_text"> module_selection=most</td> </tr> <tr class="vc_row_odd" id="l415"> <td class="vc_file_line_number"><a href="#l415">415</a></td> <td class="vc_file_line_text"> module_default=shared</td> </tr> <tr class="vc_row_odd" id="l416"> <td class="vc_file_line_number"><a href="#l416">416</a></td> <td class="vc_file_line_text"></td> </tr> <tr class="vc_row_odd" id="l417"> <td class="vc_file_line_number"><a href="#l417">417</a></td> <td class="vc_file_line_text"> dnl Check whether we have DSO support.</td> </tr> <tr class="vc_row_odd" id="l418"> <td class="vc_file_line_number"><a href="#l418">418</a></td> <td class="vc_file_line_text"> dnl If &quot;yes&quot;, we build shared modules by default.</td> </tr> <tr class="vc_row_odd" id="l419"> <td class="vc_file_line_number"><a href="#l419">419</a></td> <td class="vc_file_line_text"> APR_CHECK_APR_DEFINE(APR_HAS_DSO)</td> </tr> <tr class="vc_row_odd" id="l420"> <td class="vc_file_line_number"><a href="#l420">420</a></td> <td class="vc_file_line_text"></td> </tr> <tr class="vc_row_odd" id="l421"> <td class="vc_file_line_number"><a href="#l421">421</a></td> <td class="vc_file_line_text"> if test $ac_cv_define_APR_HAS_DSO = &quot;no&quot;; then</td> </tr> <tr class="vc_row_odd" id="l422"> <td class="vc_file_line_number"><a href="#l422">422</a></td> <td class="vc_file_line_text"> AC_MSG_WARN([Missing DSO support - building static modules by default.])</td> </tr> <tr class="vc_row_odd" id="l423"> <td class="vc_file_line_number"><a href="#l423">423</a></td> <td class="vc_file_line_text"> module_default=static</td> </tr> <tr class="vc_row_odd" id="l424"> <td class="vc_file_line_number"><a href="#l424">424</a></td> <td class="vc_file_line_text"> fi</td> </tr> <tr class="vc_row_odd" id="l425"> <td class="vc_file_line_number"><a href="#l425">425</a></td> <td class="vc_file_line_text"></td> </tr> <tr class="vc_row_odd" id="l426"> <td class="vc_file_line_number"><a href="#l426">426</a></td> <td class="vc_file_line_text"></td> </tr> <tr class="vc_row_odd" id="l427"> <td class="vc_file_line_number"><a href="#l427">427</a></td> <td class="vc_file_line_text"> AC_ARG_ENABLE(modules,</td> </tr> <tr class="vc_row_odd" id="l428"> <td class="vc_file_line_number"><a href="#l428">428</a></td> <td class="vc_file_line_text"> APACHE_HELP_STRING(--enable-modules=MODULE-LIST,Space-separated list of modules to enable | &quot;all&quot; | &quot;most&quot; | &quot;few&quot; | &quot;none&quot; | &quot;reallyall&quot;),[</td> </tr> <tr class="vc_row_odd" id="l429"> <td class="vc_file_line_number"><a href="#l429">429</a></td> <td class="vc_file_line_text"> if test &quot;$enableval&quot; = &quot;none&quot;; then</td> </tr> <tr class="vc_row_odd" id="l430"> <td class="vc_file_line_number"><a href="#l430">430</a></td> <td class="vc_file_line_text"> module_default=no</td> </tr> <tr class="vc_row_odd" id="l431"> <td class="vc_file_line_number"><a href="#l431">431</a></td> <td class="vc_file_line_text"> module_selection=none</td> </tr> <tr class="vc_row_odd" id="l432"> <td class="vc_file_line_number"><a href="#l432">432</a></td> <td class="vc_file_line_text"> else</td> </tr> <tr class="vc_row_odd" id="l433"> <td class="vc_file_line_number"><a href="#l433">433</a></td> <td class="vc_file_line_text"> for i in $enableval; do</td> </tr> <tr class="vc_row_odd" id="l434"> <td class="vc_file_line_number"><a href="#l434">434</a></td> <td class="vc_file_line_text"> if test &quot;$i&quot; = &quot;all&quot; -o &quot;$i&quot; = &quot;most&quot; -o &quot;$i&quot; = &quot;few&quot; -o &quot;$i&quot; = &quot;reallyall&quot;</td> </tr> <tr class="vc_row_odd" id="l435"> <td class="vc_file_line_number"><a href="#l435">435</a></td> <td class="vc_file_line_text"> then</td> </tr> <tr class="vc_row_odd" id="l436"> <td class="vc_file_line_number"><a href="#l436">436</a></td> <td class="vc_file_line_text"> module_selection=$i</td> </tr> <tr class="vc_row_odd" id="l437"> <td class="vc_file_line_number"><a href="#l437">437</a></td> <td class="vc_file_line_text"> else</td> </tr> <tr class="vc_row_odd" id="l438"> <td class="vc_file_line_number"><a href="#l438">438</a></td> <td class="vc_file_line_text"> i=`echo $i | sed &#39;s/-/_/g&#39;`</td> </tr> <tr class="vc_row_odd" id="l439"> <td class="vc_file_line_number"><a href="#l439">439</a></td> <td class="vc_file_line_text"> eval &quot;enable_$i=shared&quot;</td> </tr> <tr class="vc_row_odd" id="l440"> <td class="vc_file_line_number"><a href="#l440">440</a></td> <td class="vc_file_line_text"> fi</td> </tr> <tr class="vc_row_odd" id="l441"> <td class="vc_file_line_number"><a href="#l441">441</a></td> <td class="vc_file_line_text"> done</td> </tr> <tr class="vc_row_odd" id="l442"> <td class="vc_file_line_number"><a href="#l442">442</a></td> <td class="vc_file_line_text"> fi</td> </tr> <tr class="vc_row_odd" id="l443"> <td class="vc_file_line_number"><a href="#l443">443</a></td> <td class="vc_file_line_text"> ])</td> </tr> <tr class="vc_row_odd" id="l444"> <td class="vc_file_line_number"><a href="#l444">444</a></td> <td class="vc_file_line_text"> </td> </tr> <tr class="vc_row_odd" id="l445"> <td class="vc_file_line_number"><a href="#l445">445</a></td> <td class="vc_file_line_text"> AC_ARG_ENABLE(mods-shared,</td> </tr> <tr class="vc_row_odd" id="l446"> <td class="vc_file_line_number"><a href="#l446">446</a></td> <td class="vc_file_line_text"> APACHE_HELP_STRING(--enable-mods-shared=MODULE-LIST,Space-separated list of shared modules to enable | &quot;all&quot; | &quot;most&quot; | &quot;few&quot; | &quot;reallyall&quot;),[</td> </tr> <tr class="vc_row_odd" id="l447"> <td class="vc_file_line_number"><a href="#l447">447</a></td> <td class="vc_file_line_text"> for i in $enableval; do</td> </tr> <tr class="vc_row_odd" id="l448"> <td class="vc_file_line_number"><a href="#l448">448</a></td> <td class="vc_file_line_text"> if test &quot;$i&quot; = &quot;all&quot; -o &quot;$i&quot; = &quot;most&quot; -o &quot;$i&quot; = &quot;few&quot; -o &quot;$i&quot; = &quot;reallyall&quot;</td> </tr> <tr class="vc_row_odd" id="l449"> <td class="vc_file_line_number"><a href="#l449">449</a></td> <td class="vc_file_line_text"> then</td> </tr> <tr class="vc_row_odd" id="l450"> <td class="vc_file_line_number"><a href="#l450">450</a></td> <td class="vc_file_line_text"> module_selection=$i</td> </tr> <tr class="vc_row_odd" id="l451"> <td class="vc_file_line_number"><a href="#l451">451</a></td> <td class="vc_file_line_text"> module_default=shared</td> </tr> <tr class="vc_row_odd" id="l452"> <td class="vc_file_line_number"><a href="#l452">452</a></td> <td class="vc_file_line_text"> else</td> </tr> <tr class="vc_row_odd" id="l453"> <td class="vc_file_line_number"><a href="#l453">453</a></td> <td class="vc_file_line_text"> i=`echo $i | sed &#39;s/-/_/g&#39;`</td> </tr> <tr class="vc_row_odd" id="l454"> <td class="vc_file_line_number"><a href="#l454">454</a></td> <td class="vc_file_line_text"> eval &quot;enable_$i=shared&quot;</td> </tr> <tr class="vc_row_odd" id="l455"> <td class="vc_file_line_number"><a href="#l455">455</a></td> <td class="vc_file_line_text"> fi</td> </tr> <tr class="vc_row_odd" id="l456"> <td class="vc_file_line_number"><a href="#l456">456</a></td> <td class="vc_file_line_text"> done</td> </tr> <tr class="vc_row_odd" id="l457"> <td class="vc_file_line_number"><a href="#l457">457</a></td> <td class="vc_file_line_text"> ])</td> </tr> <tr class="vc_row_odd" id="l458"> <td class="vc_file_line_number"><a href="#l458">458</a></td> <td class="vc_file_line_text"> </td> </tr> <tr class="vc_row_odd" id="l459"> <td class="vc_file_line_number"><a href="#l459">459</a></td> <td class="vc_file_line_text"> AC_ARG_ENABLE(mods-static,</td> </tr> <tr class="vc_row_odd" id="l460"> <td class="vc_file_line_number"><a href="#l460">460</a></td> <td class="vc_file_line_text"> APACHE_HELP_STRING(--enable-mods-static=MODULE-LIST,Space-separated list of static modules to enable | &quot;all&quot; | &quot;most&quot; | &quot;few&quot; | &quot;reallyall&quot;),[</td> </tr> <tr class="vc_row_odd" id="l461"> <td class="vc_file_line_number"><a href="#l461">461</a></td> <td class="vc_file_line_text"> for i in $enableval; do</td> </tr> <tr class="vc_row_odd" id="l462"> <td class="vc_file_line_number"><a href="#l462">462</a></td> <td class="vc_file_line_text"> if test &quot;$i&quot; = &quot;all&quot; -o &quot;$i&quot; = &quot;most&quot; -o &quot;$i&quot; = &quot;few&quot; -o &quot;$i&quot; = &quot;reallyall&quot;; then</td> </tr> <tr class="vc_row_odd" id="l463"> <td class="vc_file_line_number"><a href="#l463">463</a></td> <td class="vc_file_line_text"> module_selection=$i</td> </tr> <tr class="vc_row_odd" id="l464"> <td class="vc_file_line_number"><a href="#l464">464</a></td> <td class="vc_file_line_text"> module_default=static</td> </tr> <tr class="vc_row_odd" id="l465"> <td class="vc_file_line_number"><a href="#l465">465</a></td> <td class="vc_file_line_text"> else</td> </tr> <tr class="vc_row_odd" id="l466"> <td class="vc_file_line_number"><a href="#l466">466</a></td> <td class="vc_file_line_text"> i=`echo $i | sed &#39;s/-/_/g&#39;`</td> </tr> <tr class="vc_row_odd" id="l467"> <td class="vc_file_line_number"><a href="#l467">467</a></td> <td class="vc_file_line_text"> eval &quot;enable_$i=static&quot;</td> </tr> <tr class="vc_row_odd" id="l468"> <td class="vc_file_line_number"><a href="#l468">468</a></td> <td class="vc_file_line_text"> fi</td> </tr> <tr class="vc_row_odd" id="l469"> <td class="vc_file_line_number"><a href="#l469">469</a></td> <td class="vc_file_line_text"> done</td> </tr> <tr class="vc_row_odd" id="l470"> <td class="vc_file_line_number"><a href="#l470">470</a></td> <td class="vc_file_line_text"> ])</td> </tr> <tr class="vc_row_odd" id="l471"> <td class="vc_file_line_number"><a href="#l471">471</a></td> <td class="vc_file_line_text">])</td> </tr> <tr class="vc_row_odd" id="l472"> <td class="vc_file_line_number"><a href="#l472">472</a></td> <td class="vc_file_line_text"></td> </tr> <tr class="vc_row_odd" id="l473"> <td class="vc_file_line_number"><a href="#l473">473</a></td> <td class="vc_file_line_text">AC_DEFUN([APACHE_REQUIRE_CXX],[</td> </tr> <tr class="vc_row_odd" id="l474"> <td class="vc_file_line_number"><a href="#l474">474</a></td> <td class="vc_file_line_text"> if test -z &quot;$apache_cxx_done&quot;; then</td> </tr> <tr class="vc_row_odd" id="l475"> <td class="vc_file_line_number"><a href="#l475">475</a></td> <td class="vc_file_line_text"> AC_PROG_CXX</td> </tr> <tr class="vc_row_odd" id="l476"> <td class="vc_file_line_number"><a href="#l476">476</a></td> <td class="vc_file_line_text"> AC_PROG_CXXCPP</td> </tr> <tr class="vc_row_odd" id="l477"> <td class="vc_file_line_number"><a href="#l477">477</a></td> <td class="vc_file_line_text"> apache_cxx_done=yes</td> </tr> <tr class="vc_row_odd" id="l478"> <td class="vc_file_line_number"><a href="#l478">478</a></td> <td class="vc_file_line_text"> fi</td> </tr> <tr class="vc_row_odd" id="l479"> <td class="vc_file_line_number"><a href="#l479">479</a></td> <td class="vc_file_line_text">])</td> </tr> <tr class="vc_row_odd" id="l480"> <td class="vc_file_line_number"><a href="#l480">480</a></td> <td class="vc_file_line_text"></td> </tr> <tr class="vc_row_odd" id="l481"> <td class="vc_file_line_number"><a href="#l481">481</a></td> <td class="vc_file_line_text">dnl</td> </tr> <tr class="vc_row_odd" id="l482"> <td class="vc_file_line_number"><a href="#l482">482</a></td> <td class="vc_file_line_text">dnl APACHE_CHECK_OPENSSL</td> </tr> <tr class="vc_row_odd" id="l483"> <td class="vc_file_line_number"><a href="#l483">483</a></td> <td class="vc_file_line_text">dnl</td> </tr> <tr class="vc_row_odd" id="l484"> <td class="vc_file_line_number"><a href="#l484">484</a></td> <td class="vc_file_line_text">dnl Configure for OpenSSL, giving preference to</td> </tr> <tr class="vc_row_odd" id="l485"> <td class="vc_file_line_number"><a href="#l485">485</a></td> <td class="vc_file_line_text">dnl &quot;--with-ssl=&lt;path&gt;&quot; if it was specified.</td> </tr> <tr class="vc_row_odd" id="l486"> <td class="vc_file_line_number"><a href="#l486">486</a></td> <td class="vc_file_line_text">dnl</td> </tr> <tr class="vc_row_odd" id="l487"> <td class="vc_file_line_number"><a href="#l487">487</a></td> <td class="vc_file_line_text">AC_DEFUN([APACHE_CHECK_OPENSSL],[</td> </tr> <tr class="vc_row_odd" id="l488"> <td class="vc_file_line_number"><a href="#l488">488</a></td> <td class="vc_file_line_text"> AC_CACHE_CHECK([for OpenSSL], [ac_cv_openssl], [</td> </tr> <tr class="vc_row_odd" id="l489"> <td class="vc_file_line_number"><a href="#l489">489</a></td> <td class="vc_file_line_text"> dnl initialise the variables we use</td> </tr> <tr class="vc_row_odd" id="l490"> <td class="vc_file_line_number"><a href="#l490">490</a></td> <td class="vc_file_line_text"> ac_cv_openssl=no</td> </tr> <tr class="vc_row_odd" id="l491"> <td class="vc_file_line_number"><a href="#l491">491</a></td> <td class="vc_file_line_text"> ap_openssl_found=&quot;&quot;</td> </tr> <tr class="vc_row_odd" id="l492"> <td class="vc_file_line_number"><a href="#l492">492</a></td> <td class="vc_file_line_text"> ap_openssl_base=&quot;&quot;</td> </tr> <tr class="vc_row_odd" id="l493"> <td class="vc_file_line_number"><a href="#l493">493</a></td> <td class="vc_file_line_text"> ap_openssl_libs=&quot;&quot;</td> </tr> <tr class="vc_row_odd" id="l494"> <td class="vc_file_line_number"><a href="#l494">494</a></td> <td class="vc_file_line_text"> ap_openssl_mod_cflags=&quot;&quot;</td> </tr> <tr class="vc_row_odd" id="l495"> <td class="vc_file_line_number"><a href="#l495">495</a></td> <td class="vc_file_line_text"> ap_openssl_mod_ldflags=&quot;&quot;</td> </tr> <tr class="vc_row_odd" id="l496"> <td class="vc_file_line_number"><a href="#l496">496</a></td> <td class="vc_file_line_text"></td> </tr> <tr class="vc_row_odd" id="l497"> <td class="vc_file_line_number"><a href="#l497">497</a></td> <td class="vc_file_line_text"> dnl Determine the OpenSSL base directory, if any</td> </tr> <tr class="vc_row_odd" id="l498"> <td class="vc_file_line_number"><a href="#l498">498</a></td> <td class="vc_file_line_text"> AC_MSG_CHECKING([for user-provided OpenSSL base directory])</td> </tr> <tr class="vc_row_odd" id="l499"> <td class="vc_file_line_number"><a href="#l499">499</a></td> <td class="vc_file_line_text"> AC_ARG_WITH(ssl, APACHE_HELP_STRING(--with-ssl=PATH,OpenSSL installation directory), [</td> </tr> <tr class="vc_row_odd" id="l500"> <td class="vc_file_line_number"><a href="#l500">500</a></td> <td class="vc_file_line_text"> dnl If --with-ssl specifies a directory, we use that directory</td> </tr> <tr class="vc_row_odd" id="l501"> <td class="vc_file_line_number"><a href="#l501">501</a></td> <td class="vc_file_line_text"> if test &quot;x$withval&quot; != &quot;xyes&quot; -a &quot;x$withval&quot; != &quot;x&quot;; then</td> </tr> <tr class="vc_row_odd" id="l502"> <td class="vc_file_line_number"><a href="#l502">502</a></td> <td class="vc_file_line_text"> dnl This ensures $withval is actually a directory and that it is absolute</td> </tr> <tr class="vc_row_odd" id="l503"> <td class="vc_file_line_number"><a href="#l503">503</a></td> <td class="vc_file_line_text"> ap_openssl_base=&quot;`cd $withval ; pwd`&quot;</td> </tr> <tr class="vc_row_odd" id="l504"> <td class="vc_file_line_number"><a href="#l504">504</a></td> <td class="vc_file_line_text"> fi</td> </tr> <tr class="vc_row_odd" id="l505"> <td class="vc_file_line_number"><a href="#l505">505</a></td> <td class="vc_file_line_text"> ])</td> </tr> <tr class="vc_row_odd" id="l506"> <td class="vc_file_line_number"><a href="#l506">506</a></td> <td class="vc_file_line_text"> if test &quot;x$ap_openssl_base&quot; = &quot;x&quot;; then</td> </tr> <tr class="vc_row_odd" id="l507"> <td class="vc_file_line_number"><a href="#l507">507</a></td> <td class="vc_file_line_text"> AC_MSG_RESULT(none)</td> </tr> <tr class="vc_row_odd" id="l508"> <td class="vc_file_line_number"><a href="#l508">508</a></td> <td class="vc_file_line_text"> else</td> </tr> <tr class="vc_row_odd" id="l509"> <td class="vc_file_line_number"><a href="#l509">509</a></td> <td class="vc_file_line_text"> AC_MSG_RESULT($ap_openssl_base)</td> </tr> <tr class="vc_row_odd" id="l510"> <td class="vc_file_line_number"><a href="#l510">510</a></td> <td class="vc_file_line_text"> fi</td> </tr> <tr class="vc_row_odd" id="l511"> <td class="vc_file_line_number"><a href="#l511">511</a></td> <td class="vc_file_line_text"></td> </tr> <tr class="vc_row_odd" id="l512"> <td class="vc_file_line_number"><a href="#l512">512</a></td> <td class="vc_file_line_text"> dnl Run header and version checks</td> </tr> <tr class="vc_row_odd" id="l513"> <td class="vc_file_line_number"><a href="#l513">513</a></td> <td class="vc_file_line_text"> saved_CPPFLAGS=&quot;$CPPFLAGS&quot;</td> </tr> <tr class="vc_row_odd" id="l514"> <td class="vc_file_line_number"><a href="#l514">514</a></td> <td class="vc_file_line_text"> saved_LIBS=&quot;$LIBS&quot;</td> </tr> <tr class="vc_row_odd" id="l515"> <td class="vc_file_line_number"><a href="#l515">515</a></td> <td class="vc_file_line_text"> saved_LDFLAGS=&quot;$LDFLAGS&quot;</td> </tr> <tr class="vc_row_odd" id="l516"> <td class="vc_file_line_number"><a href="#l516">516</a></td> <td class="vc_file_line_text"></td> </tr> <tr class="vc_row_odd" id="l517"> <td class="vc_file_line_number"><a href="#l517">517</a></td> <td class="vc_file_line_text"> dnl Before doing anything else, load in pkg-config variables</td> </tr> <tr class="vc_row_odd" id="l518"> <td class="vc_file_line_number"><a href="#l518">518</a></td> <td class="vc_file_line_text"> if test -n &quot;$PKGCONFIG&quot;; then</td> </tr> <tr class="vc_row_odd" id="l519"> <td class="vc_file_line_number"><a href="#l519">519</a></td> <td class="vc_file_line_text"> saved_PKG_CONFIG_PATH=&quot;$PKG_CONFIG_PATH&quot;</td> </tr> <tr class="vc_row_odd" id="l520"> <td class="vc_file_line_number"><a href="#l520">520</a></td> <td class="vc_file_line_text"> if test &quot;x$ap_openssl_base&quot; != &quot;x&quot;; then</td> </tr> <tr class="vc_row_odd" id="l521"> <td class="vc_file_line_number"><a href="#l521">521</a></td> <td class="vc_file_line_text"> if test -f &quot;${ap_openssl_base}/lib/pkgconfig/openssl.pc&quot;; then</td> </tr> <tr class="vc_row_odd" id="l522"> <td class="vc_file_line_number"><a href="#l522">522</a></td> <td class="vc_file_line_text"> dnl Ensure that the given path is used by pkg-config too, otherwise</td> </tr> <tr class="vc_row_odd" id="l523"> <td class="vc_file_line_number"><a href="#l523">523</a></td> <td class="vc_file_line_text"> dnl the system openssl.pc might be picked up instead.</td> </tr> <tr class="vc_row_odd" id="l524"> <td class="vc_file_line_number"><a href="#l524">524</a></td> <td class="vc_file_line_text"> PKG_CONFIG_PATH=&quot;${ap_openssl_base}/lib/pkgconfig${PKG_CONFIG_PATH+:}${PKG_CONFIG_PATH}&quot;</td> </tr> <tr class="vc_row_odd" id="l525"> <td class="vc_file_line_number"><a href="#l525">525</a></td> <td class="vc_file_line_text"> export PKG_CONFIG_PATH</td> </tr> <tr class="vc_row_odd" id="l526"> <td class="vc_file_line_number"><a href="#l526">526</a></td> <td class="vc_file_line_text"> elif test -f &quot;${ap_openssl_base}/lib64/pkgconfig/openssl.pc&quot;; then</td> </tr> <tr class="vc_row_odd" id="l527"> <td class="vc_file_line_number"><a href="#l527">527</a></td> <td class="vc_file_line_text"> dnl Ensure that the given path is used by pkg-config too, otherwise</td> </tr> <tr class="vc_row_odd" id="l528"> <td class="vc_file_line_number"><a href="#l528">528</a></td> <td class="vc_file_line_text"> dnl the system openssl.pc might be picked up instead.</td> </tr> <tr class="vc_row_odd" id="l529"> <td class="vc_file_line_number"><a href="#l529">529</a></td> <td class="vc_file_line_text"> PKG_CONFIG_PATH=&quot;${ap_openssl_base}/lib64/pkgconfig${PKG_CONFIG_PATH+:}${PKG_CONFIG_PATH}&quot;</td> </tr> <tr class="vc_row_odd" id="l530"> <td class="vc_file_line_number"><a href="#l530">530</a></td> <td class="vc_file_line_text"> export PKG_CONFIG_PATH</td> </tr> <tr class="vc_row_odd" id="l531"> <td class="vc_file_line_number"><a href="#l531">531</a></td> <td class="vc_file_line_text"> fi</td> </tr> <tr class="vc_row_odd" id="l532"> <td class="vc_file_line_number"><a href="#l532">532</a></td> <td class="vc_file_line_text"> fi</td> </tr> <tr class="vc_row_odd" id="l533"> <td class="vc_file_line_number"><a href="#l533">533</a></td> <td class="vc_file_line_text"> AC_ARG_ENABLE(ssl-staticlib-deps,APACHE_HELP_STRING(--enable-ssl-staticlib-deps,[link mod_ssl with dependencies of OpenSSL&#39;s static libraries (as indicated by &quot;pkg-config --static&quot;). Must be specified in addition to --enable-ssl.]), [</td> </tr> <tr class="vc_row_odd" id="l534"> <td class="vc_file_line_number"><a href="#l534">534</a></td> <td class="vc_file_line_text"> if test &quot;$enableval&quot; = &quot;yes&quot;; then</td> </tr> <tr class="vc_row_odd" id="l535"> <td class="vc_file_line_number"><a href="#l535">535</a></td> <td class="vc_file_line_text"> PKGCONFIG_LIBOPTS=&quot;--static&quot;</td> </tr> <tr class="vc_row_odd" id="l536"> <td class="vc_file_line_number"><a href="#l536">536</a></td> <td class="vc_file_line_text"> fi</td> </tr> <tr class="vc_row_odd" id="l537"> <td class="vc_file_line_number"><a href="#l537">537</a></td> <td class="vc_file_line_text"> ])</td> </tr> <tr class="vc_row_odd" id="l538"> <td class="vc_file_line_number"><a href="#l538">538</a></td> <td class="vc_file_line_text"> ap_openssl_libs=&quot;`$PKGCONFIG $PKGCONFIG_LIBOPTS --libs-only-l --silence-errors openssl`&quot;</td> </tr> <tr class="vc_row_odd" id="l539"> <td class="vc_file_line_number"><a href="#l539">539</a></td> <td class="vc_file_line_text"> if test $? -eq 0; then</td> </tr> <tr class="vc_row_odd" id="l540"> <td class="vc_file_line_number"><a href="#l540">540</a></td> <td class="vc_file_line_text"> ap_openssl_found=&quot;yes&quot;</td> </tr> <tr class="vc_row_odd" id="l541"> <td class="vc_file_line_number"><a href="#l541">541</a></td> <td class="vc_file_line_text"> pkglookup=&quot;`$PKGCONFIG --cflags-only-I openssl`&quot;</td> </tr> <tr class="vc_row_odd" id="l542"> <td class="vc_file_line_number"><a href="#l542">542</a></td> <td class="vc_file_line_text"> APR_ADDTO(CPPFLAGS, [$pkglookup])</td> </tr> <tr class="vc_row_odd" id="l543"> <td class="vc_file_line_number"><a href="#l543">543</a></td> <td class="vc_file_line_text"> APR_ADDTO(MOD_CFLAGS, [$pkglookup])</td> </tr> <tr class="vc_row_odd" id="l544"> <td class="vc_file_line_number"><a href="#l544">544</a></td> <td class="vc_file_line_text"> APR_ADDTO(ab_CFLAGS, [$pkglookup])</td> </tr> <tr class="vc_row_odd" id="l545"> <td class="vc_file_line_number"><a href="#l545">545</a></td> <td class="vc_file_line_text"> pkglookup=&quot;`$PKGCONFIG $PKGCONFIG_LIBOPTS --libs-only-L openssl`&quot;</td> </tr> <tr class="vc_row_odd" id="l546"> <td class="vc_file_line_number"><a href="#l546">546</a></td> <td class="vc_file_line_text"> APR_ADDTO(LDFLAGS, [$pkglookup])</td> </tr> <tr class="vc_row_odd" id="l547"> <td class="vc_file_line_number"><a href="#l547">547</a></td> <td class="vc_file_line_text"> APR_ADDTO(MOD_LDFLAGS, [$pkglookup])</td> </tr> <tr class="vc_row_odd" id="l548"> <td class="vc_file_line_number"><a href="#l548">548</a></td> <td class="vc_file_line_text"> pkglookup=&quot;`$PKGCONFIG $PKGCONFIG_LIBOPTS --libs-only-other openssl`&quot;</td> </tr> <tr class="vc_row_odd" id="l549"> <td class="vc_file_line_number"><a href="#l549">549</a></td> <td class="vc_file_line_text"> APR_ADDTO(LDFLAGS, [$pkglookup])</td> </tr> <tr class="vc_row_odd" id="l550"> <td class="vc_file_line_number"><a href="#l550">550</a></td> <td class="vc_file_line_text"> APR_ADDTO(MOD_LDFLAGS, [$pkglookup])</td> </tr> <tr class="vc_row_odd" id="l551"> <td class="vc_file_line_number"><a href="#l551">551</a></td> <td class="vc_file_line_text"> fi</td> </tr> <tr class="vc_row_odd" id="l552"> <td class="vc_file_line_number"><a href="#l552">552</a></td> <td class="vc_file_line_text"> PKG_CONFIG_PATH=&quot;$saved_PKG_CONFIG_PATH&quot;</td> </tr> <tr class="vc_row_odd" id="l553"> <td class="vc_file_line_number"><a href="#l553">553</a></td> <td class="vc_file_line_text"> fi</td> </tr> <tr class="vc_row_odd" id="l554"> <td class="vc_file_line_number"><a href="#l554">554</a></td> <td class="vc_file_line_text"></td> </tr> <tr class="vc_row_odd" id="l555"> <td class="vc_file_line_number"><a href="#l555">555</a></td> <td class="vc_file_line_text"> dnl fall back to the user-supplied directory if not found via pkg-config</td> </tr> <tr class="vc_row_odd" id="l556"> <td class="vc_file_line_number"><a href="#l556">556</a></td> <td class="vc_file_line_text"> if test &quot;x$ap_openssl_base&quot; != &quot;x&quot; -a &quot;x$ap_openssl_found&quot; = &quot;x&quot;; then</td> </tr> <tr class="vc_row_odd" id="l557"> <td class="vc_file_line_number"><a href="#l557">557</a></td> <td class="vc_file_line_text"> APR_ADDTO(CPPFLAGS, [-I$ap_openssl_base/include])</td> </tr> <tr class="vc_row_odd" id="l558"> <td class="vc_file_line_number"><a href="#l558">558</a></td> <td class="vc_file_line_text"> APR_ADDTO(MOD_CFLAGS, [-I$ap_openssl_base/include])</td> </tr> <tr class="vc_row_odd" id="l559"> <td class="vc_file_line_number"><a href="#l559">559</a></td> <td class="vc_file_line_text"> APR_ADDTO(ab_CFLAGS, [-I$ap_openssl_base/include])</td> </tr> <tr class="vc_row_odd" id="l560"> <td class="vc_file_line_number"><a href="#l560">560</a></td> <td class="vc_file_line_text"> APR_ADDTO(LDFLAGS, [-L$ap_openssl_base/lib])</td> </tr> <tr class="vc_row_odd" id="l561"> <td class="vc_file_line_number"><a href="#l561">561</a></td> <td class="vc_file_line_text"> APR_ADDTO(MOD_LDFLAGS, [-L$ap_openssl_base/lib])</td> </tr> <tr class="vc_row_odd" id="l562"> <td class="vc_file_line_number"><a href="#l562">562</a></td> <td class="vc_file_line_text"> if test &quot;x$ap_platform_runtime_link_flag&quot; != &quot;x&quot;; then</td> </tr> <tr class="vc_row_odd" id="l563"> <td class="vc_file_line_number"><a href="#l563">563</a></td> <td class="vc_file_line_text"> APR_ADDTO(LDFLAGS, [$ap_platform_runtime_link_flag$ap_openssl_base/lib])</td> </tr> <tr class="vc_row_odd" id="l564"> <td class="vc_file_line_number"><a href="#l564">564</a></td> <td class="vc_file_line_text"> APR_ADDTO(MOD_LDFLAGS, [$ap_platform_runtime_link_flag$ap_openssl_base/lib])</td> </tr> <tr class="vc_row_odd" id="l565"> <td class="vc_file_line_number"><a href="#l565">565</a></td> <td class="vc_file_line_text"> fi</td> </tr> <tr class="vc_row_odd" id="l566"> <td class="vc_file_line_number"><a href="#l566">566</a></td> <td class="vc_file_line_text"> fi</td> </tr> <tr class="vc_row_odd" id="l567"> <td class="vc_file_line_number"><a href="#l567">567</a></td> <td class="vc_file_line_text"></td> </tr> <tr class="vc_row_odd" id="l568"> <td class="vc_file_line_number"><a href="#l568">568</a></td> <td class="vc_file_line_text"> AC_MSG_CHECKING([for OpenSSL version &gt;= 0.9.8a])</td> </tr> <tr class="vc_row_odd" id="l569"> <td class="vc_file_line_number"><a href="#l569">569</a></td> <td class="vc_file_line_text"> AC_TRY_COMPILE([#include &lt;openssl/opensslv.h&gt;],[</td> </tr> <tr class="vc_row_odd" id="l570"> <td class="vc_file_line_number"><a href="#l570">570</a></td> <td class="vc_file_line_text">#if !defined(OPENSSL_VERSION_NUMBER)</td> </tr> <tr class="vc_row_odd" id="l571"> <td class="vc_file_line_number"><a href="#l571">571</a></td> <td class="vc_file_line_text">#error &quot;Missing OpenSSL version&quot;</td> </tr> <tr class="vc_row_odd" id="l572"> <td class="vc_file_line_number"><a href="#l572">572</a></td> <td class="vc_file_line_text">#endif</td> </tr> <tr class="vc_row_odd" id="l573"> <td class="vc_file_line_number"><a href="#l573">573</a></td> <td class="vc_file_line_text">#if OPENSSL_VERSION_NUMBER &lt; 0x0090801f</td> </tr> <tr class="vc_row_odd" id="l574"> <td class="vc_file_line_number"><a href="#l574">574</a></td> <td class="vc_file_line_text">#error &quot;Unsupported OpenSSL version &quot; OPENSSL_VERSION_TEXT</td> </tr> <tr class="vc_row_odd" id="l575"> <td class="vc_file_line_number"><a href="#l575">575</a></td> <td class="vc_file_line_text">#endif],</td> </tr> <tr class="vc_row_odd" id="l576"> <td class="vc_file_line_number"><a href="#l576">576</a></td> <td class="vc_file_line_text"> [AC_MSG_RESULT(OK)</td> </tr> <tr class="vc_row_odd" id="l577"> <td class="vc_file_line_number"><a href="#l577">577</a></td> <td class="vc_file_line_text"> ac_cv_openssl=yes],</td> </tr> <tr class="vc_row_odd" id="l578"> <td class="vc_file_line_number"><a href="#l578">578</a></td> <td class="vc_file_line_text"> [AC_MSG_RESULT(FAILED)])</td> </tr> <tr class="vc_row_odd" id="l579"> <td class="vc_file_line_number"><a href="#l579">579</a></td> <td class="vc_file_line_text"></td> </tr> <tr class="vc_row_odd" id="l580"> <td class="vc_file_line_number"><a href="#l580">580</a></td> <td class="vc_file_line_text"> if test &quot;x$ac_cv_openssl&quot; = &quot;xyes&quot;; then</td> </tr> <tr class="vc_row_odd" id="l581"> <td class="vc_file_line_number"><a href="#l581">581</a></td> <td class="vc_file_line_text"> ap_openssl_libs=&quot;${ap_openssl_libs:--lssl -lcrypto} `$apr_config --libs`&quot;</td> </tr> <tr class="vc_row_odd" id="l582"> <td class="vc_file_line_number"><a href="#l582">582</a></td> <td class="vc_file_line_text"> APR_ADDTO(MOD_LDFLAGS, [$ap_openssl_libs])</td> </tr> <tr class="vc_row_odd" id="l583"> <td class="vc_file_line_number"><a href="#l583">583</a></td> <td class="vc_file_line_text"> APR_ADDTO(LIBS, [$ap_openssl_libs])</td> </tr> <tr class="vc_row_odd" id="l584"> <td class="vc_file_line_number"><a href="#l584">584</a></td> <td class="vc_file_line_text"> APR_SETVAR(ab_LIBS, [$MOD_LDFLAGS])</td> </tr> <tr class="vc_row_odd" id="l585"> <td class="vc_file_line_number"><a href="#l585">585</a></td> <td class="vc_file_line_text"> APACHE_SUBST(ab_CFLAGS)</td> </tr> <tr class="vc_row_odd" id="l586"> <td class="vc_file_line_number"><a href="#l586">586</a></td> <td class="vc_file_line_text"> APACHE_SUBST(ab_LIBS)</td> </tr> <tr class="vc_row_odd" id="l587"> <td class="vc_file_line_number"><a href="#l587">587</a></td> <td class="vc_file_line_text"></td> </tr> <tr class="vc_row_odd" id="l588"> <td class="vc_file_line_number"><a href="#l588">588</a></td> <td class="vc_file_line_text"> dnl Run library and function checks</td> </tr> <tr class="vc_row_odd" id="l589"> <td class="vc_file_line_number"><a href="#l589">589</a></td> <td class="vc_file_line_text"> liberrors=&quot;&quot;</td> </tr> <tr class="vc_row_odd" id="l590"> <td class="vc_file_line_number"><a href="#l590">590</a></td> <td class="vc_file_line_text"> AC_CHECK_HEADERS([openssl/engine.h])</td> </tr> <tr class="vc_row_odd" id="l591"> <td class="vc_file_line_number"><a href="#l591">591</a></td> <td class="vc_file_line_text"> AC_CHECK_FUNCS([SSL_CTX_new], [], [liberrors=&quot;yes&quot;])</td> </tr> <tr class="vc_row_odd" id="l592"> <td class="vc_file_line_number"><a href="#l592">592</a></td> <td class="vc_file_line_text"> AC_CHECK_FUNCS([OPENSSL_init_ssl])</td> </tr> <tr class="vc_row_odd" id="l593"> <td class="vc_file_line_number"><a href="#l593">593</a></td> <td class="vc_file_line_text"> AC_CHECK_FUNCS([ENGINE_init ENGINE_load_builtin_engines RAND_egd])</td> </tr> <tr class="vc_row_odd" id="l594"> <td class="vc_file_line_number"><a href="#l594">594</a></td> <td class="vc_file_line_text"> if test &quot;x$liberrors&quot; != &quot;x&quot;; then</td> </tr> <tr class="vc_row_odd" id="l595"> <td class="vc_file_line_number"><a href="#l595">595</a></td> <td class="vc_file_line_text"> AC_MSG_WARN([OpenSSL libraries are unusable])</td> </tr> <tr class="vc_row_odd" id="l596"> <td class="vc_file_line_number"><a href="#l596">596</a></td> <td class="vc_file_line_text"> fi</td> </tr> <tr class="vc_row_odd" id="l597"> <td class="vc_file_line_number"><a href="#l597">597</a></td> <td class="vc_file_line_text"> else</td> </tr> <tr class="vc_row_odd" id="l598"> <td class="vc_file_line_number"><a href="#l598">598</a></td> <td class="vc_file_line_text"> AC_MSG_WARN([OpenSSL version is too old])</td> </tr> <tr class="vc_row_odd" id="l599"> <td class="vc_file_line_number"><a href="#l599">599</a></td> <td class="vc_file_line_text"> fi</td> </tr> <tr class="vc_row_odd" id="l600"> <td class="vc_file_line_number"><a href="#l600">600</a></td> <td class="vc_file_line_text"></td> </tr> <tr class="vc_row_odd" id="l601"> <td class="vc_file_line_number"><a href="#l601">601</a></td> <td class="vc_file_line_text"> dnl restore</td> </tr> <tr class="vc_row_odd" id="l602"> <td class="vc_file_line_number"><a href="#l602">602</a></td> <td class="vc_file_line_text"> CPPFLAGS=&quot;$saved_CPPFLAGS&quot;</td> </tr> <tr class="vc_row_odd" id="l603"> <td class="vc_file_line_number"><a href="#l603">603</a></td> <td class="vc_file_line_text"> LIBS=&quot;$saved_LIBS&quot;</td> </tr> <tr class="vc_row_odd" id="l604"> <td class="vc_file_line_number"><a href="#l604">604</a></td> <td class="vc_file_line_text"> LDFLAGS=&quot;$saved_LDFLAGS&quot;</td> </tr> <tr class="vc_row_odd" id="l605"> <td class="vc_file_line_number"><a href="#l605">605</a></td> <td class="vc_file_line_text"></td> </tr> <tr class="vc_row_odd" id="l606"> <td class="vc_file_line_number"><a href="#l606">606</a></td> <td class="vc_file_line_text"> dnl cache MOD_LDFLAGS, MOD_CFLAGS</td> </tr> <tr class="vc_row_odd" id="l607"> <td class="vc_file_line_number"><a href="#l607">607</a></td> <td class="vc_file_line_text"> ap_openssl_mod_cflags=$MOD_CFLAGS</td> </tr> <tr class="vc_row_odd" id="l608"> <td class="vc_file_line_number"><a href="#l608">608</a></td> <td class="vc_file_line_text"> ap_openssl_mod_ldflags=$MOD_LDFLAGS</td> </tr> <tr class="vc_row_odd" id="l609"> <td class="vc_file_line_number"><a href="#l609">609</a></td> <td class="vc_file_line_text"> ])</td> </tr> <tr class="vc_row_odd" id="l610"> <td class="vc_file_line_number"><a href="#l610">610</a></td> <td class="vc_file_line_text"> if test &quot;x$ac_cv_openssl&quot; = &quot;xyes&quot;; then</td> </tr> <tr class="vc_row_odd" id="l611"> <td class="vc_file_line_number"><a href="#l611">611</a></td> <td class="vc_file_line_text"> AC_DEFINE(HAVE_OPENSSL, 1, [Define if OpenSSL is available])</td> </tr> <tr class="vc_row_odd" id="l612"> <td class="vc_file_line_number"><a href="#l612">612</a></td> <td class="vc_file_line_text"> APR_ADDTO(MOD_LDFLAGS, [$ap_openssl_mod_ldflags])</td> </tr> <tr class="vc_row_odd" id="l613"> <td class="vc_file_line_number"><a href="#l613">613</a></td> <td class="vc_file_line_text"> APR_ADDTO(MOD_CFLAGS, [$ap_openssl_mod_cflags])</td> </tr> <tr class="vc_row_odd" id="l614"> <td class="vc_file_line_number"><a href="#l614">614</a></td> <td class="vc_file_line_text"> fi</td> </tr> <tr class="vc_row_odd" id="l615"> <td class="vc_file_line_number"><a href="#l615">615</a></td> <td class="vc_file_line_text">])</td> </tr> <tr class="vc_row_odd" id="l616"> <td class="vc_file_line_number"><a href="#l616">616</a></td> <td class="vc_file_line_text"></td> </tr> <tr class="vc_row_odd" id="l617"> <td class="vc_file_line_number"><a href="#l617">617</a></td> <td class="vc_file_line_text">AC_DEFUN([APACHE_CHECK_SYSTEMD], [</td> </tr> <tr class="vc_row_odd" id="l618"> <td class="vc_file_line_number"><a href="#l618">618</a></td> <td class="vc_file_line_text">dnl Check for systemd support for listen.c&#39;s socket activation.</td> </tr> <tr class="vc_row_odd" id="l619"> <td class="vc_file_line_number"><a href="#l619">619</a></td> <td class="vc_file_line_text">case $host in</td> </tr> <tr class="vc_row_odd" id="l620"> <td class="vc_file_line_number"><a href="#l620">620</a></td> <td class="vc_file_line_text">*-linux-*)</td> </tr> <tr class="vc_row_odd" id="l621"> <td class="vc_file_line_number"><a href="#l621">621</a></td> <td class="vc_file_line_text"> if test -n &quot;$PKGCONFIG&quot; &amp;&amp; $PKGCONFIG --exists libsystemd; then</td> </tr> <tr class="vc_row_odd" id="l622"> <td class="vc_file_line_number"><a href="#l622">622</a></td> <td class="vc_file_line_text"> SYSTEMD_LIBS=`$PKGCONFIG --libs libsystemd`</td> </tr> <tr class="vc_row_odd" id="l623"> <td class="vc_file_line_number"><a href="#l623">623</a></td> <td class="vc_file_line_text"> elif test -n &quot;$PKGCONFIG&quot; &amp;&amp; $PKGCONFIG --exists libsystemd-daemon; then</td> </tr> <tr class="vc_row_odd" id="l624"> <td class="vc_file_line_number"><a href="#l624">624</a></td> <td class="vc_file_line_text"> SYSTEMD_LIBS=`$PKGCONFIG --libs libsystemd-daemon`</td> </tr> <tr class="vc_row_odd" id="l625"> <td class="vc_file_line_number"><a href="#l625">625</a></td> <td class="vc_file_line_text"> else</td> </tr> <tr class="vc_row_odd" id="l626"> <td class="vc_file_line_number"><a href="#l626">626</a></td> <td class="vc_file_line_text"> AC_CHECK_LIB(systemd-daemon, sd_notify, SYSTEMD_LIBS=&quot;-lsystemd-daemon&quot;)</td> </tr> <tr class="vc_row_odd" id="l627"> <td class="vc_file_line_number"><a href="#l627">627</a></td> <td class="vc_file_line_text"> fi</td> </tr> <tr class="vc_row_odd" id="l628"> <td class="vc_file_line_number"><a href="#l628">628</a></td> <td class="vc_file_line_text"> if test -n &quot;$SYSTEMD_LIBS&quot;; then</td> </tr> <tr class="vc_row_odd" id="l629"> <td class="vc_file_line_number"><a href="#l629">629</a></td> <td class="vc_file_line_text"> AC_CHECK_HEADERS(systemd/sd-daemon.h)</td> </tr> <tr class="vc_row_odd" id="l630"> <td class="vc_file_line_number"><a href="#l630">630</a></td> <td class="vc_file_line_text"> if test &quot;${ac_cv_header_systemd_sd_daemon_h}&quot; = &quot;no&quot; || test -z &quot;${SYSTEMD_LIBS}&quot;; then</td> </tr> <tr class="vc_row_odd" id="l631"> <td class="vc_file_line_number"><a href="#l631">631</a></td> <td class="vc_file_line_text"> AC_MSG_WARN([Your system does not support systemd.])</td> </tr> <tr class="vc_row_odd" id="l632"> <td class="vc_file_line_number"><a href="#l632">632</a></td> <td class="vc_file_line_text"> else</td> </tr> <tr class="vc_row_odd" id="l633"> <td class="vc_file_line_number"><a href="#l633">633</a></td> <td class="vc_file_line_text"> AC_DEFINE(HAVE_SYSTEMD, 1, [Define if systemd is supported])</td> </tr> <tr class="vc_row_odd" id="l634"> <td class="vc_file_line_number"><a href="#l634">634</a></td> <td class="vc_file_line_text"> fi</td> </tr> <tr class="vc_row_odd" id="l635"> <td class="vc_file_line_number"><a href="#l635">635</a></td> <td class="vc_file_line_text"> fi</td> </tr> <tr class="vc_row_odd" id="l636"> <td class="vc_file_line_number"><a href="#l636">636</a></td> <td class="vc_file_line_text"> ;;</td> </tr> <tr class="vc_row_odd" id="l637"> <td class="vc_file_line_number"><a href="#l637">637</a></td> <td class="vc_file_line_text">esac</td> </tr> <tr class="vc_row_odd" id="l638"> <td class="vc_file_line_number"><a href="#l638">638</a></td> <td class="vc_file_line_text">])</td> </tr> <tr class="vc_row_odd" id="l639"> <td class="vc_file_line_number"><a href="#l639">639</a></td> <td class="vc_file_line_text"></td> </tr> <tr class="vc_row_odd" id="l640"> <td class="vc_file_line_number"><a href="#l640">640</a></td> <td class="vc_file_line_text">dnl</td> </tr> <tr class="vc_row_odd" id="l641"> <td class="vc_file_line_number"><a href="#l641">641</a></td> <td class="vc_file_line_text">dnl APACHE_EXPORT_ARGUMENTS</td> </tr> <tr class="vc_row_odd" id="l642"> <td class="vc_file_line_number"><a href="#l642">642</a></td> <td class="vc_file_line_text">dnl Export (via APACHE_SUBST) the various path-related variables that</td> </tr> <tr class="vc_row_odd" id="l643"> <td class="vc_file_line_number"><a href="#l643">643</a></td> <td class="vc_file_line_text">dnl apache will use while generating scripts like autoconf and apxs and</td> </tr> <tr class="vc_row_odd" id="l644"> <td class="vc_file_line_number"><a href="#l644">644</a></td> <td class="vc_file_line_text">dnl the default config file.</td> </tr> <tr class="vc_row_odd" id="l645"> <td class="vc_file_line_number"><a href="#l645">645</a></td> <td class="vc_file_line_text"></td> </tr> <tr class="vc_row_odd" id="l646"> <td class="vc_file_line_number"><a href="#l646">646</a></td> <td class="vc_file_line_text">AC_DEFUN([APACHE_SUBST_EXPANDED_ARG],[</td> </tr> <tr class="vc_row_odd" id="l647"> <td class="vc_file_line_number"><a href="#l647">647</a></td> <td class="vc_file_line_text"> APR_EXPAND_VAR(exp_$1, [$]$1)</td> </tr> <tr class="vc_row_odd" id="l648"> <td class="vc_file_line_number"><a href="#l648">648</a></td> <td class="vc_file_line_text"> APACHE_SUBST(exp_$1)</td> </tr> <tr class="vc_row_odd" id="l649"> <td class="vc_file_line_number"><a href="#l649">649</a></td> <td class="vc_file_line_text"> APR_PATH_RELATIVE(rel_$1, [$]exp_$1, ${prefix})</td> </tr> <tr class="vc_row_odd" id="l650"> <td class="vc_file_line_number"><a href="#l650">650</a></td> <td class="vc_file_line_text"> APACHE_SUBST(rel_$1)</td> </tr> <tr class="vc_row_odd" id="l651"> <td class="vc_file_line_number"><a href="#l651">651</a></td> <td class="vc_file_line_text">])</td> </tr> <tr class="vc_row_odd" id="l652"> <td class="vc_file_line_number"><a href="#l652">652</a></td> <td class="vc_file_line_text"></td> </tr> <tr class="vc_row_odd" id="l653"> <td class="vc_file_line_number"><a href="#l653">653</a></td> <td class="vc_file_line_text">AC_DEFUN([APACHE_EXPORT_ARGUMENTS],[</td> </tr> <tr class="vc_row_odd" id="l654"> <td class="vc_file_line_number"><a href="#l654">654</a></td> <td class="vc_file_line_text"> APACHE_SUBST_EXPANDED_ARG(exec_prefix)</td> </tr> <tr class="vc_row_odd" id="l655"> <td class="vc_file_line_number"><a href="#l655">655</a></td> <td class="vc_file_line_text"> APACHE_SUBST_EXPANDED_ARG(bindir)</td> </tr> <tr class="vc_row_odd" id="l656"> <td class="vc_file_line_number"><a href="#l656">656</a></td> <td class="vc_file_line_text"> APACHE_SUBST_EXPANDED_ARG(sbindir)</td> </tr> <tr class="vc_row_odd" id="l657"> <td class="vc_file_line_number"><a href="#l657">657</a></td> <td class="vc_file_line_text"> APACHE_SUBST_EXPANDED_ARG(libdir)</td> </tr> <tr class="vc_row_odd" id="l658"> <td class="vc_file_line_number"><a href="#l658">658</a></td> <td class="vc_file_line_text"> APACHE_SUBST_EXPANDED_ARG(libexecdir)</td> </tr> <tr class="vc_row_odd" id="l659"> <td class="vc_file_line_number"><a href="#l659">659</a></td> <td class="vc_file_line_text"> APACHE_SUBST_EXPANDED_ARG(mandir)</td> </tr> <tr class="vc_row_odd" id="l660"> <td class="vc_file_line_number"><a href="#l660">660</a></td> <td class="vc_file_line_text"> APACHE_SUBST_EXPANDED_ARG(sysconfdir)</td> </tr> <tr class="vc_row_odd" id="l661"> <td class="vc_file_line_number"><a href="#l661">661</a></td> <td class="vc_file_line_text"> APACHE_SUBST_EXPANDED_ARG(datadir)</td> </tr> <tr class="vc_row_odd" id="l662"> <td class="vc_file_line_number"><a href="#l662">662</a></td> <td class="vc_file_line_text"> APACHE_SUBST_EXPANDED_ARG(installbuilddir)</td> </tr> <tr class="vc_row_odd" id="l663"> <td class="vc_file_line_number"><a href="#l663">663</a></td> <td class="vc_file_line_text"> APACHE_SUBST_EXPANDED_ARG(errordir)</td> </tr> <tr class="vc_row_odd" id="l664"> <td class="vc_file_line_number"><a href="#l664">664</a></td> <td class="vc_file_line_text"> APACHE_SUBST_EXPANDED_ARG(iconsdir)</td> </tr> <tr class="vc_row_odd" id="l665"> <td class="vc_file_line_number"><a href="#l665">665</a></td> <td class="vc_file_line_text"> APACHE_SUBST_EXPANDED_ARG(htdocsdir)</td> </tr> <tr class="vc_row_odd" id="l666"> <td class="vc_file_line_number"><a href="#l666">666</a></td> <td class="vc_file_line_text"> APACHE_SUBST_EXPANDED_ARG(manualdir)</td> </tr> <tr class="vc_row_odd" id="l667"> <td class="vc_file_line_number"><a href="#l667">667</a></td> <td class="vc_file_line_text"> APACHE_SUBST_EXPANDED_ARG(cgidir)</td> </tr> <tr class="vc_row_odd" id="l668"> <td class="vc_file_line_number"><a href="#l668">668</a></td> <td class="vc_file_line_text"> APACHE_SUBST_EXPANDED_ARG(includedir)</td> </tr> <tr class="vc_row_odd" id="l669"> <td class="vc_file_line_number"><a href="#l669">669</a></td> <td class="vc_file_line_text"> APACHE_SUBST_EXPANDED_ARG(localstatedir)</td> </tr> <tr class="vc_row_odd" id="l670"> <td class="vc_file_line_number"><a href="#l670">670</a></td> <td class="vc_file_line_text"> APACHE_SUBST_EXPANDED_ARG(runtimedir)</td> </tr> <tr class="vc_row_odd" id="l671"> <td class="vc_file_line_number"><a href="#l671">671</a></td> <td class="vc_file_line_text"> APACHE_SUBST_EXPANDED_ARG(logfiledir)</td> </tr> <tr class="vc_row_odd" id="l672"> <td class="vc_file_line_number"><a href="#l672">672</a></td> <td class="vc_file_line_text"> APACHE_SUBST_EXPANDED_ARG(proxycachedir)</td> </tr> <tr class="vc_row_odd" id="l673"> <td class="vc_file_line_number"><a href="#l673">673</a></td> <td class="vc_file_line_text">])</td> </tr> <tr class="vc_row_odd" id="l674"> <td class="vc_file_line_number"><a href="#l674">674</a></td> <td class="vc_file_line_text"></td> </tr> <tr class="vc_row_odd" id="l675"> <td class="vc_file_line_number"><a href="#l675">675</a></td> <td class="vc_file_line_text">dnl </td> </tr> <tr class="vc_row_odd" id="l676"> <td class="vc_file_line_number"><a href="#l676">676</a></td> <td class="vc_file_line_text">dnl APACHE_CHECK_APxVER({apr|apu}, major, minor, </td> </tr> <tr class="vc_row_odd" id="l677"> <td class="vc_file_line_number"><a href="#l677">677</a></td> <td class="vc_file_line_text">dnl [actions-if-ok], [actions-if-not-ok])</td> </tr> <tr class="vc_row_odd" id="l678"> <td class="vc_file_line_number"><a href="#l678">678</a></td> <td class="vc_file_line_text">dnl</td> </tr> <tr class="vc_row_odd" id="l679"> <td class="vc_file_line_number"><a href="#l679">679</a></td> <td class="vc_file_line_text">dnl Checks for APR or APR-util of given major/minor version or later; </td> </tr> <tr class="vc_row_odd" id="l680"> <td class="vc_file_line_number"><a href="#l680">680</a></td> <td class="vc_file_line_text">dnl if so, runs actions-if-ok; otherwise runs actions-if-not-ok if given.</td> </tr> <tr class="vc_row_odd" id="l681"> <td class="vc_file_line_number"><a href="#l681">681</a></td> <td class="vc_file_line_text">dnl If the version is not satisfactory and actions-if-not-ok is not</td> </tr> <tr class="vc_row_odd" id="l682"> <td class="vc_file_line_number"><a href="#l682">682</a></td> <td class="vc_file_line_text">dnl given, then an error is printed and the configure script is aborted.</td> </tr> <tr class="vc_row_odd" id="l683"> <td class="vc_file_line_number"><a href="#l683">683</a></td> <td class="vc_file_line_text">dnl</td> </tr> <tr class="vc_row_odd" id="l684"> <td class="vc_file_line_number"><a href="#l684">684</a></td> <td class="vc_file_line_text">dnl The first argument must be [apr] or [apu].</td> </tr> <tr class="vc_row_odd" id="l685"> <td class="vc_file_line_number"><a href="#l685">685</a></td> <td class="vc_file_line_text">dnl</td> </tr> <tr class="vc_row_odd" id="l686"> <td class="vc_file_line_number"><a href="#l686">686</a></td> <td class="vc_file_line_text">AC_DEFUN([APACHE_CHECK_APxVER], [</td> </tr> <tr class="vc_row_odd" id="l687"> <td class="vc_file_line_number"><a href="#l687">687</a></td> <td class="vc_file_line_text">define(ap_ckver_major, translit($1, [apru], [APRU])[_MAJOR_VERSION])</td> </tr> <tr class="vc_row_odd" id="l688"> <td class="vc_file_line_number"><a href="#l688">688</a></td> <td class="vc_file_line_text">define(ap_ckver_minor, translit($1, [apru], [APRU])[_MINOR_VERSION])</td> </tr> <tr class="vc_row_odd" id="l689"> <td class="vc_file_line_number"><a href="#l689">689</a></td> <td class="vc_file_line_text">define(ap_ckver_cvar, [ap_cv_$1ver$2$3])</td> </tr> <tr class="vc_row_odd" id="l690"> <td class="vc_file_line_number"><a href="#l690">690</a></td> <td class="vc_file_line_text">define(ap_ckver_name, ifelse([$1],[apr],[APR],[APR-util]))</td> </tr> <tr class="vc_row_odd" id="l691"> <td class="vc_file_line_number"><a href="#l691">691</a></td> <td class="vc_file_line_text"></td> </tr> <tr class="vc_row_odd" id="l692"> <td class="vc_file_line_number"><a href="#l692">692</a></td> <td class="vc_file_line_text">ap_ckver_CPPFLAGS=&quot;$CPPFLAGS&quot;</td> </tr> <tr class="vc_row_odd" id="l693"> <td class="vc_file_line_number"><a href="#l693">693</a></td> <td class="vc_file_line_text">CPPFLAGS=&quot;$CPPFLAGS `$[$1]_config --includes`&quot;</td> </tr> <tr class="vc_row_odd" id="l694"> <td class="vc_file_line_number"><a href="#l694">694</a></td> <td class="vc_file_line_text"></td> </tr> <tr class="vc_row_odd" id="l695"> <td class="vc_file_line_number"><a href="#l695">695</a></td> <td class="vc_file_line_text">AC_CACHE_CHECK([for ap_ckver_name version $2.$3.0 or later], ap_ckver_cvar, [</td> </tr> <tr class="vc_row_odd" id="l696"> <td class="vc_file_line_number"><a href="#l696">696</a></td> <td class="vc_file_line_text">AC_EGREP_CPP([good], [</td> </tr> <tr class="vc_row_odd" id="l697"> <td class="vc_file_line_number"><a href="#l697">697</a></td> <td class="vc_file_line_text">#include &lt;$1_version.h&gt;</td> </tr> <tr class="vc_row_odd" id="l698"> <td class="vc_file_line_number"><a href="#l698">698</a></td> <td class="vc_file_line_text">#if ]ap_ckver_major[ &gt; $2 || (]ap_ckver_major[ == $2 &amp;&amp; ]ap_ckver_minor[ &gt;= $3)</td> </tr> <tr class="vc_row_odd" id="l699"> <td class="vc_file_line_number"><a href="#l699">699</a></td> <td class="vc_file_line_text">good</td> </tr> <tr class="vc_row_odd" id="l700"> <td class="vc_file_line_number"><a href="#l700">700</a></td> <td class="vc_file_line_text">#endif</td> </tr> <tr class="vc_row_odd" id="l701"> <td class="vc_file_line_number"><a href="#l701">701</a></td> <td class="vc_file_line_text">], [ap_ckver_cvar=yes], [ap_ckver_cvar=no])])</td> </tr> <tr class="vc_row_odd" id="l702"> <td class="vc_file_line_number"><a href="#l702">702</a></td> <td class="vc_file_line_text"></td> </tr> <tr class="vc_row_odd" id="l703"> <td class="vc_file_line_number"><a href="#l703">703</a></td> <td class="vc_file_line_text">if test &quot;$ap_ckver_cvar&quot; = &quot;yes&quot;; then</td> </tr> <tr class="vc_row_odd" id="l704"> <td class="vc_file_line_number"><a href="#l704">704</a></td> <td class="vc_file_line_text"> ifelse([$4],[],[:],[$4])</td> </tr> <tr class="vc_row_odd" id="l705"> <td class="vc_file_line_number"><a href="#l705">705</a></td> <td class="vc_file_line_text">else</td> </tr> <tr class="vc_row_odd" id="l706"> <td class="vc_file_line_number"><a href="#l706">706</a></td> <td class="vc_file_line_text"> ifelse([$5],[],[AC_MSG_ERROR([ap_ckver_name version $2.$3.0 or later is required])], [$5])</td> </tr> <tr class="vc_row_odd" id="l707"> <td class="vc_file_line_number"><a href="#l707">707</a></td> <td class="vc_file_line_text">fi</td> </tr> <tr class="vc_row_odd" id="l708"> <td class="vc_file_line_number"><a href="#l708">708</a></td> <td class="vc_file_line_text"></td> </tr> <tr class="vc_row_odd" id="l709"> <td class="vc_file_line_number"><a href="#l709">709</a></td> <td class="vc_file_line_text">CPPFLAGS=&quot;$ap_ckver_CPPFLAGS&quot;</td> </tr> <tr class="vc_row_odd" id="l710"> <td class="vc_file_line_number"><a href="#l710">710</a></td> <td class="vc_file_line_text"></td> </tr> <tr class="vc_row_odd" id="l711"> <td class="vc_file_line_number"><a href="#l711">711</a></td> <td class="vc_file_line_text">undefine([ap_ckver_major])</td> </tr> <tr class="vc_row_odd" id="l712"> <td class="vc_file_line_number"><a href="#l712">712</a></td> <td class="vc_file_line_text">undefine([ap_ckver_minor])</td> </tr> <tr class="vc_row_odd" id="l713"> <td class="vc_file_line_number"><a href="#l713">713</a></td> <td class="vc_file_line_text">undefine([ap_ckver_cvar])</td> </tr> <tr class="vc_row_odd" id="l714"> <td class="vc_file_line_number"><a href="#l714">714</a></td> <td class="vc_file_line_text">undefine([ap_ckver_name])</td> </tr> <tr class="vc_row_odd" id="l715"> <td class="vc_file_line_number"><a href="#l715">715</a></td> <td class="vc_file_line_text">])</td> </tr> <tr class="vc_row_odd" id="l716"> <td class="vc_file_line_number"><a href="#l716">716</a></td> <td class="vc_file_line_text"></td> </tr> <tr class="vc_row_odd" id="l717"> <td class="vc_file_line_number"><a href="#l717">717</a></td> <td class="vc_file_line_text">dnl</td> </tr> <tr class="vc_row_odd" id="l718"> <td class="vc_file_line_number"><a href="#l718">718</a></td> <td class="vc_file_line_text">dnl APACHE_CHECK_VOID_PTR_LEN</td> </tr> <tr class="vc_row_odd" id="l719"> <td class="vc_file_line_number"><a href="#l719">719</a></td> <td class="vc_file_line_text">dnl</td> </tr> <tr class="vc_row_odd" id="l720"> <td class="vc_file_line_number"><a href="#l720">720</a></td> <td class="vc_file_line_text">dnl Checks if the size of a void pointer is at least as big as a &quot;long&quot; </td> </tr> <tr class="vc_row_odd" id="l721"> <td class="vc_file_line_number"><a href="#l721">721</a></td> <td class="vc_file_line_text">dnl integer type.</td> </tr> <tr class="vc_row_odd" id="l722"> <td class="vc_file_line_number"><a href="#l722">722</a></td> <td class="vc_file_line_text">dnl</td> </tr> <tr class="vc_row_odd" id="l723"> <td class="vc_file_line_number"><a href="#l723">723</a></td> <td class="vc_file_line_text">AC_DEFUN([APACHE_CHECK_VOID_PTR_LEN], [</td> </tr> <tr class="vc_row_odd" id="l724"> <td class="vc_file_line_number"><a href="#l724">724</a></td> <td class="vc_file_line_text"></td> </tr> <tr class="vc_row_odd" id="l725"> <td class="vc_file_line_number"><a href="#l725">725</a></td> <td class="vc_file_line_text">AC_CACHE_CHECK([for void pointer length], [ap_cv_void_ptr_lt_long],</td> </tr> <tr class="vc_row_odd" id="l726"> <td class="vc_file_line_number"><a href="#l726">726</a></td> <td class="vc_file_line_text">[AC_TRY_RUN([</td> </tr> <tr class="vc_row_odd" id="l727"> <td class="vc_file_line_number"><a href="#l727">727</a></td> <td class="vc_file_line_text">int main(void)</td> </tr> <tr class="vc_row_odd" id="l728"> <td class="vc_file_line_number"><a href="#l728">728</a></td> <td class="vc_file_line_text">{</td> </tr> <tr class="vc_row_odd" id="l729"> <td class="vc_file_line_number"><a href="#l729">729</a></td> <td class="vc_file_line_text"> return sizeof(void *) &lt; sizeof(long); </td> </tr> <tr class="vc_row_odd" id="l730"> <td class="vc_file_line_number"><a href="#l730">730</a></td> <td class="vc_file_line_text">}], [ap_cv_void_ptr_lt_long=no], [ap_cv_void_ptr_lt_long=yes], </td> </tr> <tr class="vc_row_odd" id="l731"> <td class="vc_file_line_number"><a href="#l731">731</a></td> <td class="vc_file_line_text"> [ap_cv_void_ptr_lt_long=yes])])</td> </tr> <tr class="vc_row_odd" id="l732"> <td class="vc_file_line_number"><a href="#l732">732</a></td> <td class="vc_file_line_text"></td> </tr> <tr class="vc_row_odd" id="l733"> <td class="vc_file_line_number"><a href="#l733">733</a></td> <td class="vc_file_line_text">if test &quot;$ap_cv_void_ptr_lt_long&quot; = &quot;yes&quot;; then</td> </tr> <tr class="vc_row_odd" id="l734"> <td class="vc_file_line_number"><a href="#l734">734</a></td> <td class="vc_file_line_text"> AC_MSG_ERROR([Size of &quot;void *&quot; is less than size of &quot;long&quot;])</td> </tr> <tr class="vc_row_odd" id="l735"> <td class="vc_file_line_number"><a href="#l735">735</a></td> <td class="vc_file_line_text">fi</td> </tr> <tr class="vc_row_odd" id="l736"> <td class="vc_file_line_number"><a href="#l736">736</a></td> <td class="vc_file_line_text">])</td> </tr> <tr class="vc_row_odd" id="l737"> <td class="vc_file_line_number"><a href="#l737">737</a></td> <td class="vc_file_line_text"></td> </tr> <tr class="vc_row_odd" id="l738"> <td class="vc_file_line_number"><a href="#l738">738</a></td> <td class="vc_file_line_text">dnl</td> </tr> <tr class="vc_row_odd" id="l739"> <td class="vc_file_line_number"><a href="#l739">739</a></td> <td class="vc_file_line_text">dnl APACHE_CHECK_APR_HAS_LDAP</td> </tr> <tr class="vc_row_odd" id="l740"> <td class="vc_file_line_number"><a href="#l740">740</a></td> <td class="vc_file_line_text">dnl</td> </tr> <tr class="vc_row_odd" id="l741"> <td class="vc_file_line_number"><a href="#l741">741</a></td> <td class="vc_file_line_text">dnl Check if APR_HAS_LDAP is 1</td> </tr> <tr class="vc_row_odd" id="l742"> <td class="vc_file_line_number"><a href="#l742">742</a></td> <td class="vc_file_line_text">dnl Unfortunately, we can&#39;t use APR_CHECK_APR_DEFINE (because it only includes apr.h)</td> </tr> <tr class="vc_row_odd" id="l743"> <td class="vc_file_line_number"><a href="#l743">743</a></td> <td class="vc_file_line_text">dnl or APR_CHECK_DEFINE (because it only checks for defined&#39;ness and not for 0/1).</td> </tr> <tr class="vc_row_odd" id="l744"> <td class="vc_file_line_number"><a href="#l744">744</a></td> <td class="vc_file_line_text">dnl</td> </tr> <tr class="vc_row_odd" id="l745"> <td class="vc_file_line_number"><a href="#l745">745</a></td> <td class="vc_file_line_text">AC_DEFUN([APACHE_CHECK_APR_HAS_LDAP], [</td> </tr> <tr class="vc_row_odd" id="l746"> <td class="vc_file_line_number"><a href="#l746">746</a></td> <td class="vc_file_line_text"> AC_CACHE_CHECK([for ldap support in apr/apr-util],ac_cv_APR_HAS_LDAP,[</td> </tr> <tr class="vc_row_odd" id="l747"> <td class="vc_file_line_number"><a href="#l747">747</a></td> <td class="vc_file_line_text"> apache_old_cppflags=&quot;$CPPFLAGS&quot;</td> </tr> <tr class="vc_row_odd" id="l748"> <td class="vc_file_line_number"><a href="#l748">748</a></td> <td class="vc_file_line_text"> CPPFLAGS=&quot;$CPPFLAGS $INCLUDES&quot;</td> </tr> <tr class="vc_row_odd" id="l749"> <td class="vc_file_line_number"><a href="#l749">749</a></td> <td class="vc_file_line_text"> AC_EGREP_CPP(YES_IS_DEFINED, [</td> </tr> <tr class="vc_row_odd" id="l750"> <td class="vc_file_line_number"><a href="#l750">750</a></td> <td class="vc_file_line_text">#include &lt;apr_ldap.h&gt;</td> </tr> <tr class="vc_row_odd" id="l751"> <td class="vc_file_line_number"><a href="#l751">751</a></td> <td class="vc_file_line_text">#if APR_HAS_LDAP</td> </tr> <tr class="vc_row_odd" id="l752"> <td class="vc_file_line_number"><a href="#l752">752</a></td> <td class="vc_file_line_text">YES_IS_DEFINED</td> </tr> <tr class="vc_row_odd" id="l753"> <td class="vc_file_line_number"><a href="#l753">753</a></td> <td class="vc_file_line_text">#endif</td> </tr> <tr class="vc_row_odd" id="l754"> <td class="vc_file_line_number"><a href="#l754">754</a></td> <td class="vc_file_line_text"> ], ac_cv_APR_HAS_LDAP=yes, ac_cv_APR_HAS_LDAP=no)</td> </tr> <tr class="vc_row_odd" id="l755"> <td class="vc_file_line_number"><a href="#l755">755</a></td> <td class="vc_file_line_text"> CPPFLAGS=&quot;$apache_old_cppflags&quot;</td> </tr> <tr class="vc_row_odd" id="l756"> <td class="vc_file_line_number"><a href="#l756">756</a></td> <td class="vc_file_line_text"> ])</td> </tr> <tr class="vc_row_odd" id="l757"> <td class="vc_file_line_number"><a href="#l757">757</a></td> <td class="vc_file_line_text">])</td> </tr> <tr class="vc_row_odd" id="l758"> <td class="vc_file_line_number"><a href="#l758">758</a></td> <td class="vc_file_line_text"></td> </tr> <tr class="vc_row_odd" id="l759"> <td class="vc_file_line_number"><a href="#l759">759</a></td> <td class="vc_file_line_text">dnl</td> </tr> <tr class="vc_row_odd" id="l760"> <td class="vc_file_line_number"><a href="#l760">760</a></td> <td class="vc_file_line_text">dnl APACHE_ADD_GCC_CFLAG</td> </tr> <tr class="vc_row_odd" id="l761"> <td class="vc_file_line_number"><a href="#l761">761</a></td> <td class="vc_file_line_text">dnl</td> </tr> <tr class="vc_row_odd" id="l762"> <td class="vc_file_line_number"><a href="#l762">762</a></td> <td class="vc_file_line_text">dnl Check if compiler is gcc and supports flag. If yes, add to NOTEST_CFLAGS.</td> </tr> <tr class="vc_row_odd" id="l763"> <td class="vc_file_line_number"><a href="#l763">763</a></td> <td class="vc_file_line_text">dnl NOTEST_CFLAGS is merged lately, thus it won&#39;t accumulate in CFLAGS here.</td> </tr> <tr class="vc_row_odd" id="l764"> <td class="vc_file_line_number"><a href="#l764">764</a></td> <td class="vc_file_line_text">dnl Also, AC_LANG_PROGRAM() itself is known to trigger [-Wstrict-prototypes]</td> </tr> <tr class="vc_row_odd" id="l765"> <td class="vc_file_line_number"><a href="#l765">765</a></td> <td class="vc_file_line_text">dnl with some autoconf versions, so we force -Wno-strict-prototypes for the</td> </tr> <tr class="vc_row_odd" id="l766"> <td class="vc_file_line_number"><a href="#l766">766</a></td> <td class="vc_file_line_text">dnl check to avoid spurious failures when adding flags like -Werror.</td> </tr> <tr class="vc_row_odd" id="l767"> <td class="vc_file_line_number"><a href="#l767">767</a></td> <td class="vc_file_line_text">dnl</td> </tr> <tr class="vc_row_odd" id="l768"> <td class="vc_file_line_number"><a href="#l768">768</a></td> <td class="vc_file_line_text">AC_DEFUN([APACHE_ADD_GCC_CFLAG], [</td> </tr> <tr class="vc_row_odd" id="l769"> <td class="vc_file_line_number"><a href="#l769">769</a></td> <td class="vc_file_line_text"> define([ap_gcc_ckvar], [ac_cv_gcc_]translit($1, [-:.=], [____]))</td> </tr> <tr class="vc_row_odd" id="l770"> <td class="vc_file_line_number"><a href="#l770">770</a></td> <td class="vc_file_line_text"> if test &quot;$GCC&quot; = &quot;yes&quot;; then</td> </tr> <tr class="vc_row_odd" id="l771"> <td class="vc_file_line_number"><a href="#l771">771</a></td> <td class="vc_file_line_text"> AC_CACHE_CHECK([whether gcc accepts $1], ap_gcc_ckvar, [</td> </tr> <tr class="vc_row_odd" id="l772"> <td class="vc_file_line_number"><a href="#l772">772</a></td> <td class="vc_file_line_text"> save_CFLAGS=&quot;$CFLAGS&quot;</td> </tr> <tr class="vc_row_odd" id="l773"> <td class="vc_file_line_number"><a href="#l773">773</a></td> <td class="vc_file_line_text"> CFLAGS=&quot;$CFLAGS $1 -Wno-strict-prototypes&quot;</td> </tr> <tr class="vc_row_odd" id="l774"> <td class="vc_file_line_number"><a href="#l774">774</a></td> <td class="vc_file_line_text"> AC_COMPILE_IFELSE([AC_LANG_PROGRAM()],</td> </tr> <tr class="vc_row_odd" id="l775"> <td class="vc_file_line_number"><a href="#l775">775</a></td> <td class="vc_file_line_text"> [ap_gcc_ckvar=yes], [ap_gcc_ckvar=no])</td> </tr> <tr class="vc_row_odd" id="l776"> <td class="vc_file_line_number"><a href="#l776">776</a></td> <td class="vc_file_line_text"> CFLAGS=&quot;$save_CFLAGS&quot;</td> </tr> <tr class="vc_row_odd" id="l777"> <td class="vc_file_line_number"><a href="#l777">777</a></td> <td class="vc_file_line_text"> ])</td> </tr> <tr class="vc_row_odd" id="l778"> <td class="vc_file_line_number"><a href="#l778">778</a></td> <td class="vc_file_line_text"> if test &quot;$]ap_gcc_ckvar[&quot; = &quot;yes&quot; ; then</td> </tr> <tr class="vc_row_odd" id="l779"> <td class="vc_file_line_number"><a href="#l779">779</a></td> <td class="vc_file_line_text"> APR_ADDTO(NOTEST_CFLAGS,[$1])</td> </tr> <tr class="vc_row_odd" id="l780"> <td class="vc_file_line_number"><a href="#l780">780</a></td> <td class="vc_file_line_text"> fi</td> </tr> <tr class="vc_row_odd" id="l781"> <td class="vc_file_line_number"><a href="#l781">781</a></td> <td class="vc_file_line_text"> fi</td> </tr> <tr class="vc_row_odd" id="l782"> <td class="vc_file_line_number"><a href="#l782">782</a></td> <td class="vc_file_line_text"> undefine([ap_gcc_ckvar])</td> </tr> <tr class="vc_row_odd" id="l783"> <td class="vc_file_line_number"><a href="#l783">783</a></td> <td class="vc_file_line_text">])</td> </tr> </table> </div> <hr/> <div class="vc_properties"> <h2>Properties</h2> <table cellspacing="1" cellpadding="2" class="auto"> <thead> <tr> <th class="vc_header_sort">Name</th> <th class="vc_header">Value</th> </tr> </thead> <tbody> <tr class="vc_row_even"> <td><strong>svn:eol-style</strong></td> <td style="white-space: pre;">native </td> </tr> </tbody> </table> </div> <hr /> <table> <tr> <td><address><a href="mailto:infrastructure at apache.org">infrastructure at apache.org</a></address></td> <td style="text-align: right;"><strong><a href="/vc-static/help_rootview.html">ViewVC Help</a></strong></td> </tr> <tr> <td>Powered by <a href="http://viewvc.tigris.org/">ViewVC 1.1.26</a></td> <td style="text-align: right;">&nbsp;</td> </tr> </table> </body> </html>

Pages: 1 2 3 4 5 6 7 8 9 10