Changed default hello module to compile for 2.0 by default

git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@27 8e941d3f-bd1b-0410-a28a-d453659cc2b4
This commit is contained in:
sekelsenmat
2006-10-12 21:36:52 +00:00
parent 08f4724da0
commit a4e68c856a
2 changed files with 38 additions and 23 deletions

View File

@@ -7,7 +7,7 @@
<MainUnit Value="0"/> <MainUnit Value="0"/>
<IconPath Value="./"/> <IconPath Value="./"/>
<TargetFileExt Value=".exe"/> <TargetFileExt Value=".exe"/>
<ActiveEditorIndexAtStart Value="9"/> <ActiveEditorIndexAtStart Value="0"/>
</General> </General>
<PublishOptions> <PublishOptions>
<Version Value="2"/> <Version Value="2"/>
@@ -26,7 +26,7 @@
<Filename Value="mod_hello.lpr"/> <Filename Value="mod_hello.lpr"/>
<IsPartOfProject Value="True"/> <IsPartOfProject Value="True"/>
<UnitName Value="mod_hello"/> <UnitName Value="mod_hello"/>
<CursorPos X="54" Y="20"/> <CursorPos X="1" Y="17"/>
<TopLine Value="1"/> <TopLine Value="1"/>
<EditorIndex Value="0"/> <EditorIndex Value="0"/>
<UsageCount Value="79"/> <UsageCount Value="79"/>
@@ -53,9 +53,11 @@
</Unit3> </Unit3>
<Unit4> <Unit4>
<Filename Value="httpd_2_0/http_log.inc"/> <Filename Value="httpd_2_0/http_log.inc"/>
<CursorPos X="1" Y="2"/> <CursorPos X="1" Y="147"/>
<TopLine Value="1"/> <TopLine Value="130"/>
<EditorIndex Value="1"/>
<UsageCount Value="10"/> <UsageCount Value="10"/>
<Loaded Value="True"/>
</Unit4> </Unit4>
<Unit5> <Unit5>
<Filename Value="httpd_2_0/aprutil/apr_md5.inc"/> <Filename Value="httpd_2_0/aprutil/apr_md5.inc"/>
@@ -114,7 +116,7 @@
<UnitName Value="httpd"/> <UnitName Value="httpd"/>
<CursorPos X="1" Y="1"/> <CursorPos X="1" Y="1"/>
<TopLine Value="25"/> <TopLine Value="25"/>
<EditorIndex Value="10"/> <EditorIndex Value="11"/>
<UsageCount Value="13"/> <UsageCount Value="13"/>
<Loaded Value="True"/> <Loaded Value="True"/>
</Unit13> </Unit13>
@@ -122,7 +124,7 @@
<Filename Value="httpd_1_3/ap_config.inc"/> <Filename Value="httpd_1_3/ap_config.inc"/>
<CursorPos X="19" Y="902"/> <CursorPos X="19" Y="902"/>
<TopLine Value="885"/> <TopLine Value="885"/>
<EditorIndex Value="12"/> <EditorIndex Value="13"/>
<UsageCount Value="19"/> <UsageCount Value="19"/>
<Loaded Value="True"/> <Loaded Value="True"/>
</Unit14> </Unit14>
@@ -130,7 +132,7 @@
<Filename Value="httpd_1_3/ap_alloc.inc"/> <Filename Value="httpd_1_3/ap_alloc.inc"/>
<CursorPos X="1" Y="451"/> <CursorPos X="1" Y="451"/>
<TopLine Value="416"/> <TopLine Value="416"/>
<EditorIndex Value="5"/> <EditorIndex Value="6"/>
<UsageCount Value="12"/> <UsageCount Value="12"/>
<Loaded Value="True"/> <Loaded Value="True"/>
</Unit15> </Unit15>
@@ -138,7 +140,7 @@
<Filename Value="httpd_1_3/http_config.inc"/> <Filename Value="httpd_1_3/http_config.inc"/>
<CursorPos X="1" Y="313"/> <CursorPos X="1" Y="313"/>
<TopLine Value="290"/> <TopLine Value="290"/>
<EditorIndex Value="6"/> <EditorIndex Value="7"/>
<UsageCount Value="19"/> <UsageCount Value="19"/>
<Loaded Value="True"/> <Loaded Value="True"/>
</Unit16> </Unit16>
@@ -158,15 +160,15 @@
<Filename Value="httpd_1_3/ap.inc"/> <Filename Value="httpd_1_3/ap.inc"/>
<CursorPos X="1" Y="33"/> <CursorPos X="1" Y="33"/>
<TopLine Value="1"/> <TopLine Value="1"/>
<EditorIndex Value="4"/> <EditorIndex Value="5"/>
<UsageCount Value="20"/> <UsageCount Value="20"/>
<Loaded Value="True"/> <Loaded Value="True"/>
</Unit19> </Unit19>
<Unit20> <Unit20>
<Filename Value="httpd_1_3/httpd.inc"/> <Filename Value="httpd_1_3/httpd.inc"/>
<CursorPos X="1" Y="1143"/> <CursorPos X="1" Y="1143"/>
<TopLine Value="1135"/> <TopLine Value="846"/>
<EditorIndex Value="9"/> <EditorIndex Value="10"/>
<UsageCount Value="19"/> <UsageCount Value="19"/>
<Loaded Value="True"/> <Loaded Value="True"/>
</Unit20> </Unit20>
@@ -209,7 +211,7 @@
<Filename Value="httpd_1_3/util_uri.inc"/> <Filename Value="httpd_1_3/util_uri.inc"/>
<CursorPos X="4" Y="49"/> <CursorPos X="4" Y="49"/>
<TopLine Value="49"/> <TopLine Value="49"/>
<EditorIndex Value="8"/> <EditorIndex Value="9"/>
<UsageCount Value="17"/> <UsageCount Value="17"/>
<Loaded Value="True"/> <Loaded Value="True"/>
</Unit26> </Unit26>
@@ -231,7 +233,7 @@
<Filename Value="httpd_1_3/http_core.inc"/> <Filename Value="httpd_1_3/http_core.inc"/>
<CursorPos X="1" Y="5"/> <CursorPos X="1" Y="5"/>
<TopLine Value="1"/> <TopLine Value="1"/>
<EditorIndex Value="3"/> <EditorIndex Value="4"/>
<UsageCount Value="11"/> <UsageCount Value="11"/>
<Loaded Value="True"/> <Loaded Value="True"/>
</Unit29> </Unit29>
@@ -239,7 +241,7 @@
<Filename Value="httpd_1_3/http_request.inc"/> <Filename Value="httpd_1_3/http_request.inc"/>
<CursorPos X="1" Y="55"/> <CursorPos X="1" Y="55"/>
<TopLine Value="2"/> <TopLine Value="2"/>
<EditorIndex Value="7"/> <EditorIndex Value="8"/>
<UsageCount Value="17"/> <UsageCount Value="17"/>
<Loaded Value="True"/> <Loaded Value="True"/>
</Unit30> </Unit30>
@@ -253,7 +255,7 @@
<Filename Value="httpd_1_3/hsregex.inc"/> <Filename Value="httpd_1_3/hsregex.inc"/>
<CursorPos X="1" Y="15"/> <CursorPos X="1" Y="15"/>
<TopLine Value="62"/> <TopLine Value="62"/>
<EditorIndex Value="2"/> <EditorIndex Value="3"/>
<UsageCount Value="11"/> <UsageCount Value="11"/>
<Loaded Value="True"/> <Loaded Value="True"/>
</Unit32> </Unit32>
@@ -268,7 +270,7 @@
<Filename Value="httpd_1_3/http_log.inc"/> <Filename Value="httpd_1_3/http_log.inc"/>
<CursorPos X="12" Y="119"/> <CursorPos X="12" Y="119"/>
<TopLine Value="1"/> <TopLine Value="1"/>
<EditorIndex Value="14"/> <EditorIndex Value="15"/>
<UsageCount Value="20"/> <UsageCount Value="20"/>
<Loaded Value="True"/> <Loaded Value="True"/>
</Unit34> </Unit34>
@@ -276,7 +278,7 @@
<Filename Value="httpd_1_3/http_main.inc"/> <Filename Value="httpd_1_3/http_main.inc"/>
<CursorPos X="1" Y="141"/> <CursorPos X="1" Y="141"/>
<TopLine Value="115"/> <TopLine Value="115"/>
<EditorIndex Value="11"/> <EditorIndex Value="12"/>
<UsageCount Value="21"/> <UsageCount Value="21"/>
<Loaded Value="True"/> <Loaded Value="True"/>
</Unit35> </Unit35>
@@ -284,7 +286,7 @@
<Filename Value="httpd_1_3/http_protocol.inc"/> <Filename Value="httpd_1_3/http_protocol.inc"/>
<CursorPos X="1" Y="239"/> <CursorPos X="1" Y="239"/>
<TopLine Value="204"/> <TopLine Value="204"/>
<EditorIndex Value="1"/> <EditorIndex Value="2"/>
<UsageCount Value="20"/> <UsageCount Value="20"/>
<Loaded Value="True"/> <Loaded Value="True"/>
</Unit36> </Unit36>
@@ -799,7 +801,7 @@
<IsPartOfProject Value="True"/> <IsPartOfProject Value="True"/>
<CursorPos X="4" Y="145"/> <CursorPos X="4" Y="145"/>
<TopLine Value="131"/> <TopLine Value="131"/>
<EditorIndex Value="13"/> <EditorIndex Value="14"/>
<UsageCount Value="22"/> <UsageCount Value="22"/>
<Loaded Value="True"/> <Loaded Value="True"/>
</Unit118> </Unit118>
@@ -811,7 +813,20 @@
<SyntaxHighlighter Value="C++"/> <SyntaxHighlighter Value="C++"/>
</Unit119> </Unit119>
</Units> </Units>
<JumpHistory Count="0" HistoryIndex="-1"/> <JumpHistory Count="3" HistoryIndex="2">
<Position1>
<Filename Value="mod_hello.lpr"/>
<Caret Line="20" Column="54" TopLine="1"/>
</Position1>
<Position2>
<Filename Value="mod_hello.lpr"/>
<Caret Line="55" Column="56" TopLine="39"/>
</Position2>
<Position3>
<Filename Value="mod_hello.lpr"/>
<Caret Line="53" Column="1" TopLine="39"/>
</Position3>
</JumpHistory>
</ProjectOptions> </ProjectOptions>
<CompilerOptions> <CompilerOptions>
<Version Value="5"/> <Version Value="5"/>
@@ -819,8 +834,8 @@
<Filename Value="mod_hello.so"/> <Filename Value="mod_hello.so"/>
</Target> </Target>
<SearchPaths> <SearchPaths>
<OtherUnitFiles Value="httpd_1_3/"/> <OtherUnitFiles Value="httpd_2_0/;httpd_2_0/apr/;httpd_2_0/aprutil/"/>
<SrcPath Value="httpd_1_3/"/> <SrcPath Value="httpd_2_0/;httpd_2_0/apr/;httpd_2_0/aprutil/"/>
</SearchPaths> </SearchPaths>
<CodeGeneration> <CodeGeneration>
<Generate Value="Faster"/> <Generate Value="Faster"/>

View File

@@ -15,7 +15,7 @@ library mod_hello;
{$DEFINE WINDOWS} {$DEFINE WINDOWS}
{$ENDIF} {$ENDIF}
{$define Apache1_3} // Change when recompiling to a different Apache version {$define Apache2_0} // Change when recompiling to a different Apache version
uses SysUtils, httpd {$ifndef Apache1_3}, apr{$endif}; uses SysUtils, httpd {$ifndef Apache1_3}, apr{$endif};