Skip to content
Projeler
Gruplar
Parçacıklar
Yardım
Yükleniyor...
Oturum aç / Kaydol
Gezinmeyi değiştir
C
core
Proje
Proje
Ayrıntılar
Etkinlik
Cycle Analytics
Depo (repository)
Depo (repository)
Dosyalar
Kayıtlar (commit)
Dallar (branch)
Etiketler
Katkıda bulunanlar
Grafik
Karşılaştır
Grafikler
Konular (issue)
0
Konular (issue)
0
Liste
Pano
Etiketler
Kilometre Taşları
Birleştirme (merge) Talepleri
0
Birleştirme (merge) Talepleri
0
CI / CD
CI / CD
İş akışları (pipeline)
İşler
Zamanlamalar
Grafikler
Paketler
Paketler
Wiki
Wiki
Parçacıklar
Parçacıklar
Üyeler
Üyeler
Collapse sidebar
Close sidebar
Etkinlik
Grafik
Grafikler
Yeni bir konu (issue) oluştur
İşler
Kayıtlar (commit)
Konu (issue) Panoları
Kenar çubuğunu aç
LibreOffice
core
Commits
066283f4
Kaydet (Commit)
066283f4
authored
Ock 24, 2012
tarafından
Tor Lillqvist
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Indent the postgresql stuff consistently like the rest of the file
üst
e8d4222a
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
44 additions
and
44 deletions
+44
-44
configure.in
configure.in
+44
-44
No files found.
configure.in
Dosyayı görüntüle @
066283f4
...
@@ -6121,59 +6121,59 @@ dnl ===================================================================
...
@@ -6121,59 +6121,59 @@ dnl ===================================================================
if test "x$enable_postgresql_sdbc" != "xno"; then
if test "x$enable_postgresql_sdbc" != "xno"; then
SCPDEFS="$SCPDEFS -DWITH_POSTGRESQL_SDBC"
SCPDEFS="$SCPDEFS -DWITH_POSTGRESQL_SDBC"
# if/when anything else than PostgreSQL uses Kerberos,
# if/when anything else than PostgreSQL uses Kerberos,
# move this out of `test "x$enable_postgresql_sdbc" != "xno"'
# move this out of `test "x$enable_postgresql_sdbc" != "xno"'
WITH_KRB5=NO
WITH_KRB5=NO
WITH_GSSAPI=no
WITH_GSSAPI=no
case "$_os" in
case "$_os" in
Darwin)
Darwin)
# MacOS X has system MIT Kerberos 5 since 10.4
# MacOS X has system MIT Kerberos 5 since 10.4
if test "$with_krb5" != "no"; then
if test "$with_krb5" != "no"; then
WITH_KRB5=YES
WITH_KRB5=YES
AC_SEARCH_LIBS(com_err, [krb5 'krb5 -lcrypto -ldes -lasn1 -lroken' com_err 'com_err -lssl -lcrypto'], [],
AC_SEARCH_LIBS(com_err, [krb5 'krb5 -lcrypto -ldes -lasn1 -lroken' com_err 'com_err -lssl -lcrypto'], [],
[AC_MSG_ERROR([could not find function 'com_err' required for Kerberos 5])])
[AC_MSG_ERROR([could not find function 'com_err' required for Kerberos 5])])
AC_SEARCH_LIBS(krb5_sendauth, [krb5 'krb5 -lcrypto -ldes -lasn1 -lroken'], [],
AC_SEARCH_LIBS(krb5_sendauth, [krb5 'krb5 -lcrypto -ldes -lasn1 -lroken'], [],
[AC_MSG_ERROR([could not find function 'krb5_sendauth' required for Kerberos 5])])
[AC_MSG_ERROR([could not find function 'krb5_sendauth' required for Kerberos 5])])
fi
fi
if test "$with_gssapi" != "no"; then
if test "$with_gssapi" != "no"; then
WITH_GSSAPI=YES
WITH_GSSAPI=YES
AC_SEARCH_LIBS(gss_init_sec_context, [gssapi_krb5 gss 'gssapi -lkrb5 -lcrypto'], [],
AC_SEARCH_LIBS(gss_init_sec_context, [gssapi_krb5 gss 'gssapi -lkrb5 -lcrypto'], [],
[AC_MSG_ERROR([could not find function 'gss_init_sec_context' required for GSSAPI])])
[AC_MSG_ERROR([could not find function 'gss_init_sec_context' required for GSSAPI])])
fi
fi
;;
;;
WINNT)
WINNT)
if test "$with_krb5" = "yes" || "$with_gssapi" = "yes"; then
if test "$with_krb5" = "yes" || "$with_gssapi" = "yes"; then
AC_MSG_ERROR([Refusing to enable MIT Kerberos 5 or GSSAPI on Microsoft Windows.])
AC_MSG_ERROR([Refusing to enable MIT Kerberos 5 or GSSAPI on Microsoft Windows.])
fi
fi
;;
;;
*)
*)
if test "$with_krb5" = "yes"; then
if test "$with_krb5" = "yes"; then
WITH_KRB5=YES
WITH_KRB5=YES
AC_SEARCH_LIBS(com_err, [krb5 'krb5 -lcrypto -ldes -lasn1 -lroken' com_err 'com_err -lssl -lcrypto'], [],
AC_SEARCH_LIBS(com_err, [krb5 'krb5 -lcrypto -ldes -lasn1 -lroken' com_err 'com_err -lssl -lcrypto'], [],
[AC_MSG_ERROR([could not find function 'com_err' required for Kerberos 5])])
[AC_MSG_ERROR([could not find function 'com_err' required for Kerberos 5])])
AC_SEARCH_LIBS(krb5_sendauth, [krb5 'krb5 -lcrypto -ldes -lasn1 -lroken'], [],
AC_SEARCH_LIBS(krb5_sendauth, [krb5 'krb5 -lcrypto -ldes -lasn1 -lroken'], [],
[AC_MSG_ERROR([could not find function 'krb5_sendauth' required for Kerberos 5])])
[AC_MSG_ERROR([could not find function 'krb5_sendauth' required for Kerberos 5])])
fi
fi
if test "$with_gssapi" = "yes"; then
if test "$with_gssapi" = "yes"; then
WITH_GSSAPI=YES
WITH_GSSAPI=YES
AC_SEARCH_LIBS(gss_init_sec_context, [gssapi_krb5 gss 'gssapi -lkrb5 -lcrypto'], [],
AC_SEARCH_LIBS(gss_init_sec_context, [gssapi_krb5 gss 'gssapi -lkrb5 -lcrypto'], [],
[AC_MSG_ERROR([could not find function 'gss_init_sec_context' required for GSSAPI])])
[AC_MSG_ERROR([could not find function 'gss_init_sec_context' required for GSSAPI])])
fi
fi
esac
esac
AC_MSG_CHECKING([PostgreSQL C interface])
AC_MSG_CHECKING([PostgreSQL C interface])
if test "$with_system_postgresql" = "yes"; then
if test "$with_system_postgresql" = "yes"; then
AC_MSG_RESULT([external PostgreSQL])
AC_MSG_RESULT([external PostgreSQL])
SYSTEM_POSTGRESQL=YES
SYSTEM_POSTGRESQL=YES
if test "$_os" = Darwin; then
if test "$_os" = Darwin; then
supp_path=''
supp_path=''
for d in /Library/PostgreSQL/9.*/bin /sw/opt/postgresql/9.*/bin /opt/local/lib/postgresql9*/bin; do
for d in /Library/PostgreSQL/9.*/bin /sw/opt/postgresql/9.*/bin /opt/local/lib/postgresql9*/bin; do
pg_supp_path="$P_SEP$d$pg_supp_path"
pg_supp_path="$P_SEP$d$pg_supp_path"
done
done
fi
fi
AC_PATH_PROG(PGCONFIG, pg_config, ,$PATH$pg_supp_path)
AC_PATH_PROG(PGCONFIG, pg_config, ,$PATH$pg_supp_path)
if test -z "$PGCONFIG"; then
if test -z "$PGCONFIG"; then
AC_MSG_ERROR([pg_config needed; set PGCONFIG if not in PATH])
AC_MSG_ERROR([pg_config needed; set PGCONFIG if not in PATH])
fi
fi
POSTGRESQL_INC=-I$(${PGCONFIG} --includedir)
POSTGRESQL_INC=-I$(${PGCONFIG} --includedir)
POSTGRESQL_LIB="-L$(${PGCONFIG} --libdir)"
POSTGRESQL_LIB="-L$(${PGCONFIG} --libdir)"
...
...
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