Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
P
Postgres FD Implementation
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Abuhujair Javed
Postgres FD Implementation
Commits
16f372d9
Commit
16f372d9
authored
Jan 18, 2007
by
Peter Eisentraut
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Optionally use xml2-config to detect installation locations of libxml.
parent
02084107
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
97 additions
and
3 deletions
+97
-3
configure
configure
+57
-1
configure.in
configure.in
+17
-1
doc/src/sgml/installation.sgml
doc/src/sgml/installation.sgml
+23
-1
No files found.
configure
View file @
16f372d9
...
@@ -314,7 +314,7 @@ ac_includes_default="\
...
@@ -314,7 +314,7 @@ ac_includes_default="\
# include <unistd.h>
# include <unistd.h>
#endif"
#endif"
ac_subst_vars
=
'SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS configure_args build build_cpu build_vendor build_os host host_cpu host_vendor host_os PORTNAME docdir enable_nls WANTED_LANGUAGES default_port enable_shared enable_rpath enable_debug DTRACE DTRACEFLAGS enable_dtrace CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT CPP GCC TAS autodepend INCLUDES enable_thread_safety with_tcl with_perl with_python with_krb5 krb_srvtab with_pam with_ldap with_bonjour with_openssl with_zlib EGREP ELF_SYS LDFLAGS_SL AWK FLEX FLEXFLAGS LN_S LD with_gnu_ld ld_R_works RANLIB ac_ct_RANLIB TAR STRIP ac_ct_STRIP STRIP_STATIC_LIB STRIP_SHARED_LIB YACC YFLAGS PERL perl_archlibexp perl_privlibexp perl_useshrplib perl_embed_ldflags PYTHON python_version python_configdir python_includespec python_libdir python_libspec python_additional_libs HAVE_IPV6 LIBOBJS acx_pthread_config PTHREAD_CC PTHREAD_LIBS PTHREAD_CFLAGS LDAP_LIBS_FE LDAP_LIBS_BE HAVE_POSIX_SIGNALS MSGFMT MSGMERGE XGETTEXT localedir TCLSH TCL_CONFIG_SH TCL_INCLUDE_SPEC TCL_LIB_FILE TCL_LIBS TCL_LIB_SPEC TCL_SHARED_BUILD TCL_SHLIB_LD_LIBS NSGMLS JADE have_docbook DOCBOOKSTYLE COLLATEINDEX SGMLSPL vpath_build LTLIBOBJS'
ac_subst_vars
=
'SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS configure_args build build_cpu build_vendor build_os host host_cpu host_vendor host_os PORTNAME docdir enable_nls WANTED_LANGUAGES default_port enable_shared enable_rpath enable_debug DTRACE DTRACEFLAGS enable_dtrace CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT CPP GCC TAS autodepend INCLUDES enable_thread_safety with_tcl with_perl with_python with_krb5 krb_srvtab with_pam with_ldap with_bonjour with_openssl
XML2_CONFIG
with_zlib EGREP ELF_SYS LDFLAGS_SL AWK FLEX FLEXFLAGS LN_S LD with_gnu_ld ld_R_works RANLIB ac_ct_RANLIB TAR STRIP ac_ct_STRIP STRIP_STATIC_LIB STRIP_SHARED_LIB YACC YFLAGS PERL perl_archlibexp perl_privlibexp perl_useshrplib perl_embed_ldflags PYTHON python_version python_configdir python_includespec python_libdir python_libspec python_additional_libs HAVE_IPV6 LIBOBJS acx_pthread_config PTHREAD_CC PTHREAD_LIBS PTHREAD_CFLAGS LDAP_LIBS_FE LDAP_LIBS_BE HAVE_POSIX_SIGNALS MSGFMT MSGMERGE XGETTEXT localedir TCLSH TCL_CONFIG_SH TCL_INCLUDE_SPEC TCL_LIB_FILE TCL_LIBS TCL_LIB_SPEC TCL_SHARED_BUILD TCL_SHLIB_LD_LIBS NSGMLS JADE have_docbook DOCBOOKSTYLE COLLATEINDEX SGMLSPL vpath_build LTLIBOBJS'
ac_subst_files
=
''
ac_subst_files
=
''
# Initialize some variables set by options.
# Initialize some variables set by options.
...
@@ -4196,6 +4196,61 @@ else
...
@@ -4196,6 +4196,61 @@ else
fi
;
fi
;
if
test
"
$with_libxml
"
=
yes
;
then
for
ac_prog
in
xml2-config
do
# Extract the first word of "$ac_prog", so it can be a program name with args.
set
dummy
$ac_prog
;
ac_word
=
$2
echo
"
$as_me
:
$LINENO
: checking for
$ac_word
"
>
&5
echo
$ECHO_N
"checking for
$ac_word
...
$ECHO_C
"
>
&6
if
test
"
${
ac_cv_prog_XML2_CONFIG
+set
}
"
=
set
;
then
echo
$ECHO_N
"(cached)
$ECHO_C
"
>
&6
else
if
test
-n
"
$XML2_CONFIG
"
;
then
ac_cv_prog_XML2_CONFIG
=
"
$XML2_CONFIG
"
# Let the user override the test.
else
as_save_IFS
=
$IFS
;
IFS
=
$PATH_SEPARATOR
for
as_dir
in
$PATH
do
IFS
=
$as_save_IFS
test
-z
"
$as_dir
"
&&
as_dir
=
.
for
ac_exec_ext
in
''
$ac_executable_extensions
;
do
if
$as_executable_p
"
$as_dir
/
$ac_word$ac_exec_ext
"
;
then
ac_cv_prog_XML2_CONFIG
=
"
$ac_prog
"
echo
"
$as_me
:
$LINENO
: found
$as_dir
/
$ac_word$ac_exec_ext
"
>
&5
break
2
fi
done
done
fi
fi
XML2_CONFIG
=
$ac_cv_prog_XML2_CONFIG
if
test
-n
"
$XML2_CONFIG
"
;
then
echo
"
$as_me
:
$LINENO
: result:
$XML2_CONFIG
"
>
&5
echo
"
${
ECHO_T
}
$XML2_CONFIG
"
>
&6
else
echo
"
$as_me
:
$LINENO
: result: no"
>
&5
echo
"
${
ECHO_T
}
no"
>
&6
fi
test
-n
"
$XML2_CONFIG
"
&&
break
done
if
test
-n
"
$XML2_CONFIG
"
;
then
for
pgac_option
in
`
$XML2_CONFIG
--cflags
`
;
do
case
$pgac_option
in
-I
*
|
-D
*
)
CPPFLAGS
=
"
$CPPFLAGS
$pgac_option
"
;;
esac
done
for
pgac_option
in
`
$XML2_CONFIG
--libs
`
;
do
case
$pgac_option
in
-L
*
)
LDFLAGS
=
"
$LDFLAGS
$pgac_option
"
;;
esac
done
fi
fi
#
#
# Zlib
# Zlib
...
@@ -23794,6 +23849,7 @@ s,@with_pam@,$with_pam,;t t
...
@@ -23794,6 +23849,7 @@ s,@with_pam@,$with_pam,;t t
s,@with_ldap@,
$with_ldap
,;t t
s,@with_ldap@,
$with_ldap
,;t t
s,@with_bonjour@,
$with_bonjour
,;t t
s,@with_bonjour@,
$with_bonjour
,;t t
s,@with_openssl@,
$with_openssl
,;t t
s,@with_openssl@,
$with_openssl
,;t t
s,@XML2_CONFIG@,
$XML2_CONFIG
,;t t
s,@with_zlib@,
$with_zlib
,;t t
s,@with_zlib@,
$with_zlib
,;t t
s,@EGREP@,
$EGREP
,;t t
s,@EGREP@,
$EGREP
,;t t
s,@ELF_SYS@,
$ELF_SYS
,;t t
s,@ELF_SYS@,
$ELF_SYS
,;t t
...
...
configure.in
View file @
16f372d9
dnl Process this file with autoconf to produce a configure script.
dnl Process this file with autoconf to produce a configure script.
dnl $PostgreSQL: pgsql/configure.in,v 1.49
6 2007/01/07 21:10:40
petere Exp $
dnl $PostgreSQL: pgsql/configure.in,v 1.49
7 2007/01/18 14:07:31
petere Exp $
dnl
dnl
dnl Developers, please strive to achieve this order:
dnl Developers, please strive to achieve this order:
dnl
dnl
...
@@ -537,6 +537,22 @@ PGAC_ARG_BOOL(with, libedit-preferred, no,
...
@@ -537,6 +537,22 @@ PGAC_ARG_BOOL(with, libedit-preferred, no,
PGAC_ARG_BOOL(with, libxml, no, [ --with-libxml build with XML support],
PGAC_ARG_BOOL(with, libxml, no, [ --with-libxml build with XML support],
[AC_DEFINE([USE_LIBXML], 1, [Define to 1 to build with XML support. (--with-libxml)])])
[AC_DEFINE([USE_LIBXML], 1, [Define to 1 to build with XML support. (--with-libxml)])])
if test "$with_libxml" = yes ; then
AC_CHECK_PROGS(XML2_CONFIG, xml2-config)
if test -n "$XML2_CONFIG"; then
for pgac_option in `$XML2_CONFIG --cflags`; do
case $pgac_option in
-I*|-D*) CPPFLAGS="$CPPFLAGS $pgac_option";;
esac
done
for pgac_option in `$XML2_CONFIG --libs`; do
case $pgac_option in
-L*) LDFLAGS="$LDFLAGS $pgac_option";;
esac
done
fi
fi
#
#
# Zlib
# Zlib
...
...
doc/src/sgml/installation.sgml
View file @
16f372d9
<
!-- $PostgreSQL: pgsql/doc/src/sgml/installation.sgml,v 1.27
1 2007/01/07 21:10:4
1 petere Exp $ -->
<
!-- $PostgreSQL: pgsql/doc/src/sgml/installation.sgml,v 1.27
2 2007/01/18 14:07:3
1 petere Exp $ -->
<
chapter
id
=
"installation"
>
<
chapter
id
=
"installation"
>
<
title
><
![%standalone-include[<productname>PostgreSQL</>]]>
<
title
><
![%standalone-include[<productname>PostgreSQL</>]]>
...
@@ -912,6 +912,18 @@ su - postgres
...
@@ -912,6 +912,18 @@ su - postgres
Build
with
libxml
(
enables
SQL
/
XML
support
).
Libxml
version
2.6.23
or
Build
with
libxml
(
enables
SQL
/
XML
support
).
Libxml
version
2.6.23
or
later
is
required
for
this
feature
.
later
is
required
for
this
feature
.
</
para
>
</
para
>
<
para
>
Libxml
installs
a
program
<
command
>
xml2
-
config
</
command
>
that
can
be
used
to
detect
the
required
compiler
and
linker
options
.
PostgreSQL
will
use
it
automatically
if
found
.
To
specify
a
libxml
installation
at
an
unusual
location
,
you
can
either
set
the
environment
variable
<
envar
>
XML2_CONFIG
</
envar
>
to
point
to
the
<
command
>
xml2
-
config
</
command
>
program
belonging
to
the
installation
,
or
use
the
options
<
option
>--
with
-
includes
</
option
>
and
<
option
>--
with
-
libraries
</
option
>.
</
listitem
>
</
listitem
>
</
varlistentry
>
</
varlistentry
>
...
@@ -1202,6 +1214,16 @@ su - postgres
...
@@ -1202,6 +1214,16 @@ su - postgres
</
listitem
>
</
listitem
>
</
varlistentry
>
</
varlistentry
>
<
varlistentry
>
<
term
><
envar
>
XML2_CONFIG
</
envar
></
term
>
<
listitem
>
<
para
>
<
command
>
xml2
-
config
</
command
>
program
used
to
locate
the
libxml
installation
.
</
para
>
</
listitem
>
</
varlistentry
>
<
varlistentry
>
<
varlistentry
>
<
term
><
envar
>
YACC
</
envar
></
term
>
<
term
><
envar
>
YACC
</
envar
></
term
>
<
listitem
>
<
listitem
>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment