mirror of
https://codeberg.org/cage/tinmop/
synced 2025-02-12 07:30:34 +01:00
- moved test for gettext.
This commit is contained in:
parent
7d4716a30f
commit
9d561dea01
314
configure
vendored
314
configure
vendored
@ -665,16 +665,16 @@ LDFLAGS
|
|||||||
CFLAGS
|
CFLAGS
|
||||||
CC
|
CC
|
||||||
XGETTEXT_EXTRA_OPTIONS
|
XGETTEXT_EXTRA_OPTIONS
|
||||||
MSGMERGE
|
|
||||||
XGETTEXT_015
|
XGETTEXT_015
|
||||||
XGETTEXT
|
|
||||||
GMSGFMT_015
|
GMSGFMT_015
|
||||||
MSGFMT_015
|
MSGFMT_015
|
||||||
GMSGFMT
|
GMSGFMT
|
||||||
MSGFMT
|
|
||||||
GETTEXT_MACRO_VERSION
|
GETTEXT_MACRO_VERSION
|
||||||
USE_NLS
|
USE_NLS
|
||||||
SED
|
SED
|
||||||
|
MSGFMT
|
||||||
|
XGETTEXT
|
||||||
|
MSGMERGE
|
||||||
AM_BACKSLASH
|
AM_BACKSLASH
|
||||||
AM_DEFAULT_VERBOSITY
|
AM_DEFAULT_VERBOSITY
|
||||||
AM_DEFAULT_V
|
AM_DEFAULT_V
|
||||||
@ -3060,6 +3060,160 @@ END
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
# Extract the first word of "msgmerge", so it can be a program name with args.
|
||||||
|
set dummy msgmerge; ac_word=$2
|
||||||
|
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
||||||
|
printf %s "checking for $ac_word... " >&6; }
|
||||||
|
if test ${ac_cv_path_MSGMERGE+y}
|
||||||
|
then :
|
||||||
|
printf %s "(cached) " >&6
|
||||||
|
else $as_nop
|
||||||
|
case $MSGMERGE in
|
||||||
|
[\\/]* | ?:[\\/]*)
|
||||||
|
ac_cv_path_MSGMERGE="$MSGMERGE" # Let the user override the test with a path.
|
||||||
|
;;
|
||||||
|
*)
|
||||||
|
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
||||||
|
for as_dir in $PATH
|
||||||
|
do
|
||||||
|
IFS=$as_save_IFS
|
||||||
|
case $as_dir in #(((
|
||||||
|
'') as_dir=./ ;;
|
||||||
|
*/) ;;
|
||||||
|
*) as_dir=$as_dir/ ;;
|
||||||
|
esac
|
||||||
|
for ac_exec_ext in '' $ac_executable_extensions; do
|
||||||
|
if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
|
||||||
|
ac_cv_path_MSGMERGE="$as_dir$ac_word$ac_exec_ext"
|
||||||
|
printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
|
||||||
|
break 2
|
||||||
|
fi
|
||||||
|
done
|
||||||
|
done
|
||||||
|
IFS=$as_save_IFS
|
||||||
|
|
||||||
|
test -z "$ac_cv_path_MSGMERGE" && ac_cv_path_MSGMERGE="no"
|
||||||
|
;;
|
||||||
|
esac
|
||||||
|
fi
|
||||||
|
MSGMERGE=$ac_cv_path_MSGMERGE
|
||||||
|
if test -n "$MSGMERGE"; then
|
||||||
|
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MSGMERGE" >&5
|
||||||
|
printf "%s\n" "$MSGMERGE" >&6; }
|
||||||
|
else
|
||||||
|
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
||||||
|
printf "%s\n" "no" >&6; }
|
||||||
|
fi
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
if test "$MSGMERGE" = "no" ; then
|
||||||
|
as_fn_error $? "Can not find msgmerge, from the gettext package." "$LINENO" 5
|
||||||
|
fi
|
||||||
|
|
||||||
|
# Extract the first word of "xgettext", so it can be a program name with args.
|
||||||
|
set dummy xgettext; ac_word=$2
|
||||||
|
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
||||||
|
printf %s "checking for $ac_word... " >&6; }
|
||||||
|
if test ${ac_cv_path_XGETTEXT+y}
|
||||||
|
then :
|
||||||
|
printf %s "(cached) " >&6
|
||||||
|
else $as_nop
|
||||||
|
case $XGETTEXT in
|
||||||
|
[\\/]* | ?:[\\/]*)
|
||||||
|
ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path.
|
||||||
|
;;
|
||||||
|
*)
|
||||||
|
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
||||||
|
for as_dir in $PATH
|
||||||
|
do
|
||||||
|
IFS=$as_save_IFS
|
||||||
|
case $as_dir in #(((
|
||||||
|
'') as_dir=./ ;;
|
||||||
|
*/) ;;
|
||||||
|
*) as_dir=$as_dir/ ;;
|
||||||
|
esac
|
||||||
|
for ac_exec_ext in '' $ac_executable_extensions; do
|
||||||
|
if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
|
||||||
|
ac_cv_path_XGETTEXT="$as_dir$ac_word$ac_exec_ext"
|
||||||
|
printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
|
||||||
|
break 2
|
||||||
|
fi
|
||||||
|
done
|
||||||
|
done
|
||||||
|
IFS=$as_save_IFS
|
||||||
|
|
||||||
|
test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT="no"
|
||||||
|
;;
|
||||||
|
esac
|
||||||
|
fi
|
||||||
|
XGETTEXT=$ac_cv_path_XGETTEXT
|
||||||
|
if test -n "$XGETTEXT"; then
|
||||||
|
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5
|
||||||
|
printf "%s\n" "$XGETTEXT" >&6; }
|
||||||
|
else
|
||||||
|
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
||||||
|
printf "%s\n" "no" >&6; }
|
||||||
|
fi
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
if test "$XGETTEXT" = "no" ; then
|
||||||
|
as_fn_error $? "Can not find xgettext, from the gettext package." "$LINENO" 5
|
||||||
|
fi
|
||||||
|
|
||||||
|
# Extract the first word of "msgfmt", so it can be a program name with args.
|
||||||
|
set dummy msgfmt; ac_word=$2
|
||||||
|
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
||||||
|
printf %s "checking for $ac_word... " >&6; }
|
||||||
|
if test ${ac_cv_path_MSGFMT+y}
|
||||||
|
then :
|
||||||
|
printf %s "(cached) " >&6
|
||||||
|
else $as_nop
|
||||||
|
case $MSGFMT in
|
||||||
|
[\\/]* | ?:[\\/]*)
|
||||||
|
ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path.
|
||||||
|
;;
|
||||||
|
*)
|
||||||
|
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
||||||
|
for as_dir in $PATH
|
||||||
|
do
|
||||||
|
IFS=$as_save_IFS
|
||||||
|
case $as_dir in #(((
|
||||||
|
'') as_dir=./ ;;
|
||||||
|
*/) ;;
|
||||||
|
*) as_dir=$as_dir/ ;;
|
||||||
|
esac
|
||||||
|
for ac_exec_ext in '' $ac_executable_extensions; do
|
||||||
|
if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
|
||||||
|
ac_cv_path_MSGFMT="$as_dir$ac_word$ac_exec_ext"
|
||||||
|
printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
|
||||||
|
break 2
|
||||||
|
fi
|
||||||
|
done
|
||||||
|
done
|
||||||
|
IFS=$as_save_IFS
|
||||||
|
|
||||||
|
test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT="no"
|
||||||
|
;;
|
||||||
|
esac
|
||||||
|
fi
|
||||||
|
MSGFMT=$ac_cv_path_MSGFMT
|
||||||
|
if test -n "$MSGFMT"; then
|
||||||
|
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
|
||||||
|
printf "%s\n" "$MSGFMT" >&6; }
|
||||||
|
else
|
||||||
|
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
||||||
|
printf "%s\n" "no" >&6; }
|
||||||
|
fi
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
if test "$MSGFMT" = "no" ; then
|
||||||
|
as_fn_error $? "Can not find msgfmt, from the gettext package." "$LINENO" 5
|
||||||
|
fi
|
||||||
|
|
||||||
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
|
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
|
||||||
printf %s "checking for a sed that does not truncate output... " >&6; }
|
printf %s "checking for a sed that does not truncate output... " >&6; }
|
||||||
if test ${ac_cv_path_SED+y}
|
if test ${ac_cv_path_SED+y}
|
||||||
@ -6858,160 +7012,6 @@ printf "%s\n" "#define HAVE_DCGETTEXT 1" >>confdefs.h
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
# Extract the first word of "msgmerge", so it can be a program name with args.
|
|
||||||
set dummy msgmerge; ac_word=$2
|
|
||||||
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
|
||||||
printf %s "checking for $ac_word... " >&6; }
|
|
||||||
if test ${ac_cv_path_MSGMERGE+y}
|
|
||||||
then :
|
|
||||||
printf %s "(cached) " >&6
|
|
||||||
else $as_nop
|
|
||||||
case $MSGMERGE in
|
|
||||||
[\\/]* | ?:[\\/]*)
|
|
||||||
ac_cv_path_MSGMERGE="$MSGMERGE" # Let the user override the test with a path.
|
|
||||||
;;
|
|
||||||
*)
|
|
||||||
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
|
||||||
for as_dir in $PATH
|
|
||||||
do
|
|
||||||
IFS=$as_save_IFS
|
|
||||||
case $as_dir in #(((
|
|
||||||
'') as_dir=./ ;;
|
|
||||||
*/) ;;
|
|
||||||
*) as_dir=$as_dir/ ;;
|
|
||||||
esac
|
|
||||||
for ac_exec_ext in '' $ac_executable_extensions; do
|
|
||||||
if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
|
|
||||||
ac_cv_path_MSGMERGE="$as_dir$ac_word$ac_exec_ext"
|
|
||||||
printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
|
|
||||||
break 2
|
|
||||||
fi
|
|
||||||
done
|
|
||||||
done
|
|
||||||
IFS=$as_save_IFS
|
|
||||||
|
|
||||||
test -z "$ac_cv_path_MSGMERGE" && ac_cv_path_MSGMERGE="no"
|
|
||||||
;;
|
|
||||||
esac
|
|
||||||
fi
|
|
||||||
MSGMERGE=$ac_cv_path_MSGMERGE
|
|
||||||
if test -n "$MSGMERGE"; then
|
|
||||||
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MSGMERGE" >&5
|
|
||||||
printf "%s\n" "$MSGMERGE" >&6; }
|
|
||||||
else
|
|
||||||
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
|
||||||
printf "%s\n" "no" >&6; }
|
|
||||||
fi
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
if test "$MSGMERGE" = "no" ; then
|
|
||||||
as_fn_error $? "Can not find msgmerge, from the gettext package." "$LINENO" 5
|
|
||||||
fi
|
|
||||||
|
|
||||||
# Extract the first word of "xgettext", so it can be a program name with args.
|
|
||||||
set dummy xgettext; ac_word=$2
|
|
||||||
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
|
||||||
printf %s "checking for $ac_word... " >&6; }
|
|
||||||
if test ${ac_cv_path_XGETTEXT+y}
|
|
||||||
then :
|
|
||||||
printf %s "(cached) " >&6
|
|
||||||
else $as_nop
|
|
||||||
case $XGETTEXT in
|
|
||||||
[\\/]* | ?:[\\/]*)
|
|
||||||
ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path.
|
|
||||||
;;
|
|
||||||
*)
|
|
||||||
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
|
||||||
for as_dir in $PATH
|
|
||||||
do
|
|
||||||
IFS=$as_save_IFS
|
|
||||||
case $as_dir in #(((
|
|
||||||
'') as_dir=./ ;;
|
|
||||||
*/) ;;
|
|
||||||
*) as_dir=$as_dir/ ;;
|
|
||||||
esac
|
|
||||||
for ac_exec_ext in '' $ac_executable_extensions; do
|
|
||||||
if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
|
|
||||||
ac_cv_path_XGETTEXT="$as_dir$ac_word$ac_exec_ext"
|
|
||||||
printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
|
|
||||||
break 2
|
|
||||||
fi
|
|
||||||
done
|
|
||||||
done
|
|
||||||
IFS=$as_save_IFS
|
|
||||||
|
|
||||||
test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT="no"
|
|
||||||
;;
|
|
||||||
esac
|
|
||||||
fi
|
|
||||||
XGETTEXT=$ac_cv_path_XGETTEXT
|
|
||||||
if test -n "$XGETTEXT"; then
|
|
||||||
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5
|
|
||||||
printf "%s\n" "$XGETTEXT" >&6; }
|
|
||||||
else
|
|
||||||
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
|
||||||
printf "%s\n" "no" >&6; }
|
|
||||||
fi
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
if test "$XGETTEXT" = "no" ; then
|
|
||||||
as_fn_error $? "Can not find xgettext, from the gettext package." "$LINENO" 5
|
|
||||||
fi
|
|
||||||
|
|
||||||
# Extract the first word of "msgfmt", so it can be a program name with args.
|
|
||||||
set dummy msgfmt; ac_word=$2
|
|
||||||
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
|
||||||
printf %s "checking for $ac_word... " >&6; }
|
|
||||||
if test ${ac_cv_path_MSGFMT+y}
|
|
||||||
then :
|
|
||||||
printf %s "(cached) " >&6
|
|
||||||
else $as_nop
|
|
||||||
case $MSGFMT in
|
|
||||||
[\\/]* | ?:[\\/]*)
|
|
||||||
ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path.
|
|
||||||
;;
|
|
||||||
*)
|
|
||||||
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
|
||||||
for as_dir in $PATH
|
|
||||||
do
|
|
||||||
IFS=$as_save_IFS
|
|
||||||
case $as_dir in #(((
|
|
||||||
'') as_dir=./ ;;
|
|
||||||
*/) ;;
|
|
||||||
*) as_dir=$as_dir/ ;;
|
|
||||||
esac
|
|
||||||
for ac_exec_ext in '' $ac_executable_extensions; do
|
|
||||||
if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
|
|
||||||
ac_cv_path_MSGFMT="$as_dir$ac_word$ac_exec_ext"
|
|
||||||
printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
|
|
||||||
break 2
|
|
||||||
fi
|
|
||||||
done
|
|
||||||
done
|
|
||||||
IFS=$as_save_IFS
|
|
||||||
|
|
||||||
test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT="no"
|
|
||||||
;;
|
|
||||||
esac
|
|
||||||
fi
|
|
||||||
MSGFMT=$ac_cv_path_MSGFMT
|
|
||||||
if test -n "$MSGFMT"; then
|
|
||||||
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
|
|
||||||
printf "%s\n" "$MSGFMT" >&6; }
|
|
||||||
else
|
|
||||||
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
|
||||||
printf "%s\n" "no" >&6; }
|
|
||||||
fi
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
if test "$MSGFMT" = "no" ; then
|
|
||||||
as_fn_error $? "Can not find msgfmt, from the gettext package." "$LINENO" 5
|
|
||||||
fi
|
|
||||||
|
|
||||||
# Extract the first word of "sbcl", so it can be a program name with args.
|
# Extract the first word of "sbcl", so it can be a program name with args.
|
||||||
set dummy sbcl; ac_word=$2
|
set dummy sbcl; ac_word=$2
|
||||||
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
||||||
|
@ -19,8 +19,6 @@ AC_INIT([tinmop],[0.9.5],[https://notabug.org/cage/tinmop/],[tinmop])
|
|||||||
|
|
||||||
AM_INIT_AUTOMAKE([-Wall foreign])
|
AM_INIT_AUTOMAKE([-Wall foreign])
|
||||||
|
|
||||||
AM_GNU_GETTEXT([external])
|
|
||||||
|
|
||||||
dnl checks for programs
|
dnl checks for programs
|
||||||
|
|
||||||
AC_PATH_PROG([MSGMERGE],[msgmerge],[no])
|
AC_PATH_PROG([MSGMERGE],[msgmerge],[no])
|
||||||
@ -41,6 +39,8 @@ if test "$MSGFMT" = "no" ; then
|
|||||||
AC_MSG_ERROR([Can not find msgfmt, from the gettext package.])
|
AC_MSG_ERROR([Can not find msgfmt, from the gettext package.])
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
AM_GNU_GETTEXT([external])
|
||||||
|
|
||||||
AC_PATH_PROG([LISP_COMPILER],[sbcl],[no])
|
AC_PATH_PROG([LISP_COMPILER],[sbcl],[no])
|
||||||
|
|
||||||
if test "$LISP_COMPILER" = "no" ; then
|
if test "$LISP_COMPILER" = "no" ; then
|
||||||
|
Loading…
x
Reference in New Issue
Block a user