diff options
author | Matthieu Herrb <matthieu@cvs.openbsd.org> | 2006-11-26 17:54:10 +0000 |
---|---|---|
committer | Matthieu Herrb <matthieu@cvs.openbsd.org> | 2006-11-26 17:54:10 +0000 |
commit | a7610844bd23439954dda87545eb31d16517ef90 (patch) | |
tree | cb53954f4b54839888e05c1e39169a25ee10dc47 /app/fstobdf/configure | |
parent | 2de9fd72e354e414dc0ce292e7f9da281783ac55 (diff) |
regen with OpenBSD autotools
Diffstat (limited to 'app/fstobdf/configure')
-rw-r--r-- | app/fstobdf/configure | 102 |
1 files changed, 23 insertions, 79 deletions
diff --git a/app/fstobdf/configure b/app/fstobdf/configure index 5a49b4ce4..26da15b63 100644 --- a/app/fstobdf/configure +++ b/app/fstobdf/configure @@ -3057,9 +3057,6 @@ echo "$as_me:$LINENO: checking for FSTOBDF" >&5 echo $ECHO_N "checking for FSTOBDF... $ECHO_C" >&6 if test -n "$PKG_CONFIG"; then - if test -n "$FSTOBDF_CFLAGS"; then - pkg_cv_FSTOBDF_CFLAGS="$FSTOBDF_CFLAGS" - else if test -n "$PKG_CONFIG" && \ { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"x11 libfs\"") >&5 ($PKG_CONFIG --exists --print-errors "x11 libfs") 2>&5 @@ -3070,14 +3067,10 @@ if test -n "$PKG_CONFIG"; then else pkg_failed=yes fi - fi else pkg_failed=untried fi if test -n "$PKG_CONFIG"; then - if test -n "$FSTOBDF_LIBS"; then - pkg_cv_FSTOBDF_LIBS="$FSTOBDF_LIBS" - else if test -n "$PKG_CONFIG" && \ { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"x11 libfs\"") >&5 ($PKG_CONFIG --exists --print-errors "x11 libfs") 2>&5 @@ -3088,59 +3081,38 @@ if test -n "$PKG_CONFIG"; then else pkg_failed=yes fi - fi else pkg_failed=untried fi - - if test $pkg_failed = yes; then - -if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then - _pkg_short_errors_supported=yes -else - _pkg_short_errors_supported=no -fi - if test $_pkg_short_errors_supported = yes; then - FSTOBDF_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "x11 libfs"` - else - FSTOBDF_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "x11 libfs"` - fi + FSTOBDF_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "x11 libfs"` # Put the nasty error message in config.log where it belongs - echo "$FSTOBDF_PKG_ERRORS" >&5 - - { { echo "$as_me:$LINENO: error: Package requirements (x11 libfs) were not met: - -$FSTOBDF_PKG_ERRORS + echo "$FSTOBDF_PKG_ERRORS" 1>&5 + { { echo "$as_me:$LINENO: error: Package requirements (x11 libfs) were not met. Consider adjusting the PKG_CONFIG_PATH environment variable if you installed software in a non-standard prefix. -Alternatively, you may set the environment variables FSTOBDF_CFLAGS -and FSTOBDF_LIBS to avoid the need to call pkg-config. -See the pkg-config man page for more details. -" >&5 -echo "$as_me: error: Package requirements (x11 libfs) were not met: - -$FSTOBDF_PKG_ERRORS - +Alternatively you may set the FSTOBDF_CFLAGS and FSTOBDF_LIBS environment variables +to avoid the need to call pkg-config. See the pkg-config man page for +more details." >&5 +echo "$as_me: error: Package requirements (x11 libfs) were not met. Consider adjusting the PKG_CONFIG_PATH environment variable if you installed software in a non-standard prefix. -Alternatively, you may set the environment variables FSTOBDF_CFLAGS -and FSTOBDF_LIBS to avoid the need to call pkg-config. -See the pkg-config man page for more details. -" >&2;} +Alternatively you may set the FSTOBDF_CFLAGS and FSTOBDF_LIBS environment variables +to avoid the need to call pkg-config. See the pkg-config man page for +more details." >&2;} { (exit 1); exit 1; }; } elif test $pkg_failed = untried; then { { echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old. Make sure it is in your PATH or set the PKG_CONFIG environment variable to the full path to pkg-config. -Alternatively, you may set the environment variables FSTOBDF_CFLAGS -and FSTOBDF_LIBS to avoid the need to call pkg-config. -See the pkg-config man page for more details. +Alternatively you may set the FSTOBDF_CFLAGS and FSTOBDF_LIBS environment variables +to avoid the need to call pkg-config. See the pkg-config man page for +more details. To get pkg-config, see <http://www.freedesktop.org/software/pkgconfig>. See \`config.log' for more details." >&5 @@ -3148,9 +3120,9 @@ echo "$as_me: error: The pkg-config script could not be found or is too old. Ma is in your PATH or set the PKG_CONFIG environment variable to the full path to pkg-config. -Alternatively, you may set the environment variables FSTOBDF_CFLAGS -and FSTOBDF_LIBS to avoid the need to call pkg-config. -See the pkg-config man page for more details. +Alternatively you may set the FSTOBDF_CFLAGS and FSTOBDF_LIBS environment variables +to avoid the need to call pkg-config. See the pkg-config man page for +more details. To get pkg-config, see <http://www.freedesktop.org/software/pkgconfig>. See \`config.log' for more details." >&2;} @@ -3223,75 +3195,47 @@ host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` if test x$APP_MAN_SUFFIX = x ; then - case $host_os in - linux*) APP_MAN_SUFFIX=1x ;; - *) APP_MAN_SUFFIX=1 ;; - esac + APP_MAN_SUFFIX=1 fi if test x$APP_MAN_DIR = x ; then - case $host_os in - linux*) APP_MAN_DIR='$(mandir)/man1' ;; - *) APP_MAN_DIR='$(mandir)/man$(APP_MAN_SUFFIX)' ;; - esac + APP_MAN_DIR='$(mandir)/man$(APP_MAN_SUFFIX)' fi if test x$LIB_MAN_SUFFIX = x ; then - case $host_os in - linux*) LIB_MAN_SUFFIX=3x ;; - *) LIB_MAN_SUFFIX=3 ;; - esac + LIB_MAN_SUFFIX=3 fi if test x$LIB_MAN_DIR = x ; then - case $host_os in - linux*) LIB_MAN_DIR='$(mandir)/man3' ;; - *) LIB_MAN_DIR='$(mandir)/man$(LIB_MAN_SUFFIX)' ;; - esac + LIB_MAN_DIR='$(mandir)/man$(LIB_MAN_SUFFIX)' fi if test x$FILE_MAN_SUFFIX = x ; then case $host_os in - linux*) FILE_MAN_SUFFIX=5x ;; solaris*) FILE_MAN_SUFFIX=4 ;; *) FILE_MAN_SUFFIX=5 ;; esac fi if test x$FILE_MAN_DIR = x ; then - case $host_os in - linux*) FILE_MAN_DIR='$(mandir)/man5' ;; - *) FILE_MAN_DIR='$(mandir)/man$(FILE_MAN_SUFFIX)' ;; - esac + FILE_MAN_DIR='$(mandir)/man$(FILE_MAN_SUFFIX)' fi -# In Imake's linux.cf, the misc man suffix & dir was only changed for -# LinuxDebian, not other Linuxes, so we leave it unchanged here if test x$MISC_MAN_SUFFIX = x ; then case $host_os in -# linux*) MISC_MAN_SUFFIX=7x ;; solaris*) MISC_MAN_SUFFIX=5 ;; *) MISC_MAN_SUFFIX=7 ;; esac fi if test x$MISC_MAN_DIR = x ; then - case $host_os in -# linux*) MISC_MAN_DIR='$(mandir)/man7' ;; - *) MISC_MAN_DIR='$(mandir)/man$(MISC_MAN_SUFFIX)' ;; - esac + MISC_MAN_DIR='$(mandir)/man$(MISC_MAN_SUFFIX)' fi -# In Imake's linux.cf, the driver man suffix & dir was only changed for -# LinuxDebian, not other Linuxes, so we leave it unchanged here if test x$DRIVER_MAN_SUFFIX = x ; then case $host_os in -# linux*) DRIVER_MAN_SUFFIX=4x ;; solaris*) DRIVER_MAN_SUFFIX=7 ;; *) DRIVER_MAN_SUFFIX=4 ;; esac fi if test x$DRIVER_MAN_DIR = x ; then - case $host_os in -# linux*) DRIVER_MAN_DIR='$(mandir)/man4' ;; - *) DRIVER_MAN_DIR='$(mandir)/man$(DRIVER_MAN_SUFFIX)' ;; - esac + DRIVER_MAN_DIR='$(mandir)/man$(DRIVER_MAN_SUFFIX)' fi if test x$ADMIN_MAN_SUFFIX = x ; then |