You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by nd...@apache.org on 2004/09/28 19:32:39 UTC

cvs commit: httpd-2.0/docs/manual/programs apxs.html.en apxs.html.ko.euc-kr apxs.xml.ko apxs.xml.meta

nd          2004/09/28 10:32:39

  Modified:    docs/man apxs.8
               docs/manual/programs apxs.html.en apxs.html.ko.euc-kr
                        apxs.xml.ko apxs.xml.meta
  Log:
  update transformation
  
  Revision  Changes    Path
  1.11      +20 -31    httpd-2.0/docs/man/apxs.8
  
  Index: apxs.8
  ===================================================================
  RCS file: /home/cvs/httpd-2.0/docs/man/apxs.8,v
  retrieving revision 1.10
  retrieving revision 1.11
  diff -u -u -r1.10 -r1.11
  --- apxs.8	25 Nov 2003 13:37:31 -0000	1.10
  +++ apxs.8	28 Sep 2004 17:32:39 -0000	1.11
  @@ -19,7 +19,7 @@
   .el .ne 3
   .IP "\\$1" \\$2
   ..
  -.TH "APXS" 8 "2003-11-25" "Apache HTTP Server" "apxs"
  +.TH "APXS" 8 "2004-09-28" "Apache HTTP Server" "apxs"
   
   .SH NAME
   apxs \- APache eXtenSion tool
  @@ -96,7 +96,7 @@
    
   .TP
   -q
  -Performs a query for apxs's knowledge about certain settings\&. The \fIquery\fR parameters can be one or more of the following strings: CC, CFLAGS, CFLAGS_SHLIB, INCLUDEDIR, LD_SHLIB, LDFLAGS_SHLIB, LIBEXECDIR, LIBS_SHLIB, SBINDIR, SYSCONFDIR, TARGET\&. .PP Use this for manually determining settings\&. For instance use .nf INC=-I`apxs -q INCLUDEDIR` .fi .PP inside your own Makefiles if you need manual access to Apache's C header files\&.  
  +Performs a query for apxs's knowledge about certain settings\&. The \fIquery\fR parameters can be one or more of the following strings: CC, CFLAGS, CFLAGS_SHLIB, INCLUDEDIR, LD_SHLIB, LDFLAGS_SHLIB, LIBEXECDIR, LIBS_SHLIB, SBINDIR, SYSCONFDIR, TARGET\&. .PP Use this for manually determining settings\&. For instance use INC=-I`apxs -q INCLUDEDIR` .PP inside your own Makefiles if you need manual access to Apache's C header files\&.  
     
   .SS "Configuration Options"
    
  @@ -135,10 +135,10 @@
   This option is directly passed through to the linker command\&. Use this to add your own libraries to search to the build process\&.  
   .TP
   -Wc,\fIcompiler-flags\fR
  -This option passes \fIcompiler-flags\fR as additional flags to the compiler command\&. Use this to add local compiler-specific options\&.  
  +This option passes \fIcompiler-flags\fR as additional flags to the libtool --mode=compile command\&. Use this to add local compiler-specific options\&.  
   .TP
   -Wl,\fIlinker-flags\fR
  -This option passes \fIlinker-flags\fR as additional flags to the linker command\&. Use this to add local linker-specific options\&.  
  +This option passes \fIlinker-flags\fR as additional flags to the libtool --mode=link command\&. Use this to add local linker-specific options\&.  
     
   .SS "DSO Installation and Configuration Options"
     
  @@ -164,8 +164,8 @@
   .nf
   
         $ apxs -c mod_foo\&.c
  -      gcc -fpic -DSHARED_MODULE -I/path/to/apache/include -c mod_foo\&.c
  -      ld -Bshareable -o mod_foo\&.so mod_foo\&.o
  +      /path/to/libtool --mode=compile gcc \&.\&.\&. -c mod_foo\&.c
  +      /path/to/libtool --mode=link -o mod_foo\&.la mod_foo\&.slo
         $ _
       
   .fi
  @@ -175,10 +175,12 @@
    
   .nf
   
  -      $ apxs -i -a mod_foo\&.c
  -      cp mod_foo\&.so /path/to/apache/modules/mod_foo\&.so
  +      $ apxs -i -a mod_foo\&.la
  +      /path/to/instdso\&.sh mod_foo\&.la /path/to/apache/modules
  +      /path/to/libtool --mode=install cp mod_foo\&.la /path/to/apache/modules
  +      \&.\&.\&.
         chmod 755 /path/to/apache/modules/mod_foo\&.so
  -      [activating module `foo' in /path/to/apache/etc/httpd\&.conf]
  +      [activating module `foo' in /path/to/apache/conf/httpd\&.conf]
         $ _
       
   .fi
  @@ -209,7 +211,9 @@
         $ apxs -g -n foo
         Creating [DIR]  foo
         Creating [FILE] foo/Makefile
  +      Creating [FILE] foo/modules\&.mk
         Creating [FILE] foo/mod_foo\&.c
  +      Creating [FILE] foo/\&.deps
         $ _
       
   .fi
  @@ -222,12 +226,14 @@
         $ cd foo
         $ make all reload
         apxs -c mod_foo\&.c
  -      gcc -fpic -DSHARED_MODULE -I/path/to/apache/include -c mod_foo\&.c
  -      ld -Bshareable -o mod_foo\&.so mod_foo\&.o
  -      apxs -i -a -n "foo" mod_foo\&.so
  -      cp mod_foo\&.so /path/to/apache/modules/mod_foo\&.so
  +      /path/to/libtool --mode=compile gcc \&.\&.\&. -c mod_foo\&.c
  +      /path/to/libtool --mode=link gcc \&.\&.\&. -o mod_foo\&.la mod_foo\&.slo
  +      apxs -i -a -n "foo" mod_foo\&.la
  +      /path/to/instdso\&.sh mod_foo\&.la /path/to/apache/modules
  +      /path/to/libtool --mode=install cp mod_foo\&.la /path/to/apache/modules
  +      \&.\&.\&.
         chmod 755 /path/to/apache/modules/mod_foo\&.so
  -      [activating module `foo' in /path/to/apache/etc/httpd\&.conf]
  +      [activating module `foo' in /path/to/apache/conf/httpd\&.conf]
         apachectl restart
         /path/to/apache/sbin/apachectl restart: httpd not running, trying to start
         [Tue Mar 31 11:27:55 1998] [debug] mod_so\&.c(303): loaded module foo_module
  @@ -235,21 +241,4 @@
         $ _
       
   .fi
  - 
  -.PP
  -You can even use apxs to compile complex modules outside the Apache source tree, like PHP3:
  - 
  -.nf
  -
  -      $ cd php3
  -      $ \&./configure --with-shared-apache=\&.\&./apache-1\&.3
  -      $ apxs -c -o libphp3\&.so mod_php3\&.c libmodphp3-so\&.a
  -      gcc -fpic -DSHARED_MODULE -I/tmp/apache/include  -c mod_php3\&.c
  -      ld -Bshareable -o libphp3\&.so mod_php3\&.o libmodphp3-so\&.a
  -      $ _
  -    
  -.fi
  - 
  -.PP
  -because apxs automatically recognized C source files and object files\&. Only C source files are compiled while remaining object files are used for the linking phase\&.
    
  
  
  
  1.8       +21 -28    httpd-2.0/docs/manual/programs/apxs.html.en
  
  Index: apxs.html.en
  ===================================================================
  RCS file: /home/cvs/httpd-2.0/docs/manual/programs/apxs.html.en,v
  retrieving revision 1.7
  retrieving revision 1.8
  diff -u -u -r1.7 -r1.8
  --- apxs.html.en	25 Apr 2004 22:53:17 -0000	1.7
  +++ apxs.html.en	28 Sep 2004 17:32:39 -0000	1.8
  @@ -203,11 +203,13 @@
   
         <dt><code>-Wc,<var>compiler-flags</var></code></dt>
         <dd>This option passes <var>compiler-flags</var> as additional flags to
  -      the compiler command. Use this to add local compiler-specific options.</dd>
  +      the <code>libtool --mode=compile</code> command. Use this to add local
  +      compiler-specific options.</dd>
   
         <dt><code>-Wl,<var>linker-flags</var></code></dt>
  -      <dd>This option passes <var>linker-flags</var> as additional flags to
  -      the linker command. Use this to add local linker-specific options.</dd>
  +      <dd>This option passes <var>linker-flags</var> as additional
  +      flags to the <code>libtool --mode=link</code> command. Use this
  +      to add local linker-specific options.</dd>
         </dl>
       
   
  @@ -247,8 +249,8 @@
   
       <div class="example"><p><code>
         $ apxs -c mod_foo.c<br />
  -      gcc -fpic -DSHARED_MODULE -I/path/to/apache/include -c mod_foo.c<br />
  -      ld -Bshareable -o mod_foo.so mod_foo.o<br />
  +      /path/to/libtool --mode=compile gcc ... -c mod_foo.c<br />
  +      /path/to/libtool --mode=link -o mod_foo.la mod_foo.slo<br />
         $ _
       </code></p></div>
   
  @@ -260,10 +262,12 @@
       achieved by running:</p>
   
       <div class="example"><p><code>
  -      $ apxs -i -a mod_foo.c<br />
  -      cp mod_foo.so /path/to/apache/modules/mod_foo.so<br />
  +      $ apxs -i -a mod_foo.la<br />
  +      /path/to/instdso.sh mod_foo.la /path/to/apache/modules<br />
  +      /path/to/libtool --mode=install cp mod_foo.la /path/to/apache/modules
  +      ...
         chmod 755 /path/to/apache/modules/mod_foo.so<br />
  -      [activating module `foo' in /path/to/apache/etc/httpd.conf]<br />
  +      [activating module `foo' in /path/to/apache/conf/httpd.conf]<br />
         $ _
       </code></p></div>
   
  @@ -288,7 +292,9 @@
         $ apxs -g -n foo<br />
         Creating [DIR]  foo<br />
         Creating [FILE] foo/Makefile<br />
  +      Creating [FILE] foo/modules.mk<br />
         Creating [FILE] foo/mod_foo.c<br />
  +      Creating [FILE] foo/.deps<br />
         $ _
       </code></p></div>
   
  @@ -299,12 +305,14 @@
         $ cd foo<br />
         $ make all reload<br />
         apxs -c mod_foo.c<br />
  -      gcc -fpic -DSHARED_MODULE -I/path/to/apache/include -c mod_foo.c<br />
  -      ld -Bshareable -o mod_foo.so mod_foo.o<br />
  -      apxs -i -a -n "foo" mod_foo.so<br />
  -      cp mod_foo.so /path/to/apache/modules/mod_foo.so<br />
  +      /path/to/libtool --mode=compile gcc ... -c mod_foo.c<br />
  +      /path/to/libtool --mode=link gcc ... -o mod_foo.la mod_foo.slo<br />
  +      apxs -i -a -n "foo" mod_foo.la<br />
  +      /path/to/instdso.sh mod_foo.la /path/to/apache/modules<br />
  +      /path/to/libtool --mode=install cp mod_foo.la /path/to/apache/modules
  +      ...
         chmod 755 /path/to/apache/modules/mod_foo.so<br />
  -      [activating module `foo' in /path/to/apache/etc/httpd.conf]<br />
  +      [activating module `foo' in /path/to/apache/conf/httpd.conf]<br />
         apachectl restart<br />
         /path/to/apache/sbin/apachectl restart: httpd not running, trying to start<br />
         [Tue Mar 31 11:27:55 1998] [debug] mod_so.c(303): loaded module foo_module<br />
  @@ -312,21 +320,6 @@
         $ _
       </code></p></div>
   
  -    <p>You can even use <code>apxs</code> to compile complex modules outside the
  -    Apache source tree, like PHP3:</p>
  -
  -    <div class="example"><p><code>
  -      $ cd php3<br />
  -      $ ./configure --with-shared-apache=../apache-1.3<br />
  -      $ apxs -c -o libphp3.so mod_php3.c libmodphp3-so.a<br />
  -      gcc -fpic -DSHARED_MODULE -I/tmp/apache/include  -c mod_php3.c<br />
  -      ld -Bshareable -o libphp3.so mod_php3.o libmodphp3-so.a<br />
  -      $ _
  -    </code></p></div>
  -
  -    <p>because <code>apxs</code> automatically recognized C source files and
  -    object files. Only C source files are compiled while remaining object
  -    files are used for the linking phase.</p>
   </div></div>
   <div class="bottomlang">
   <p><span>Available Languages: </span><a href="../en/programs/apxs.html" title="English">&nbsp;en&nbsp;</a> |
  
  
  
  1.2       +2 -0      httpd-2.0/docs/manual/programs/apxs.html.ko.euc-kr
  
  Index: apxs.html.ko.euc-kr
  ===================================================================
  RCS file: /home/cvs/httpd-2.0/docs/manual/programs/apxs.html.ko.euc-kr,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -u -r1.1 -r1.2
  --- apxs.html.ko.euc-kr	25 Apr 2004 22:53:17 -0000	1.1
  +++ apxs.html.ko.euc-kr	28 Sep 2004 17:32:39 -0000	1.2
  @@ -21,6 +21,8 @@
   <p><span>������ ���: </span><a href="../en/programs/apxs.html" hreflang="en" rel="alternate" title="English">&nbsp;en&nbsp;</a> |
   <a href="../ko/programs/apxs.html" title="Korean">&nbsp;ko&nbsp;</a></p>
   </div>
  +<div class="outofdate">�� ������ �ֽ��� ������ �ƴմϴ�.
  +            �ֱٿ� ����� ������ ���� ������ �����ϼ���.</div>
   
       <p><code>apxs</code>�� ����ġ �������ؽ�Ʈ ���� ��������
       (HTTP) ������ Ȯ������ �������ϰ� ��ġ�ϴ� �����̴�. ��
  
  
  
  1.3       +1 -1      httpd-2.0/docs/manual/programs/apxs.xml.ko
  
  Index: apxs.xml.ko
  ===================================================================
  RCS file: /home/cvs/httpd-2.0/docs/manual/programs/apxs.xml.ko,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -u -r1.2 -r1.3
  --- apxs.xml.ko	25 Apr 2004 22:53:17 -0000	1.2
  +++ apxs.xml.ko	28 Sep 2004 17:32:39 -0000	1.3
  @@ -1,7 +1,7 @@
   <?xml version='1.0' encoding='EUC-KR' ?>
   <!DOCTYPE manualpage SYSTEM "../style/manualpage.dtd">
   <?xml-stylesheet type="text/xsl" href="../style/manual.ko.xsl"?>
  -<!-- English Revision: 1.4 -->
  +<!-- English Revision: 1.4 (outdated: 1.5) -->
   
   <!--
    Copyright 2004 The Apache Software Foundation
  
  
  
  1.3       +1 -1      httpd-2.0/docs/manual/programs/apxs.xml.meta
  
  Index: apxs.xml.meta
  ===================================================================
  RCS file: /home/cvs/httpd-2.0/docs/manual/programs/apxs.xml.meta,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -u -r1.2 -r1.3
  --- apxs.xml.meta	25 Apr 2004 22:53:17 -0000	1.2
  +++ apxs.xml.meta	28 Sep 2004 17:32:39 -0000	1.3
  @@ -7,6 +7,6 @@
   
     <variants>
       <variant>en</variant>
  -    <variant>ko</variant>
  +    <variant outdated="yes">ko</variant>
     </variants>
   </metafile>