[Xastir-dev] autoconf

Jerry Chamberlin jerryc at netlab.org
Mon Aug 5 19:58:33 EDT 2002


Or maybe the attached gen file?

On Mon, 5 Aug 2002, Jerry Chamberlin wrote:

> Perhaps
> ALL_LINGUAS="fr de pt_PT tr es ja"
> AC_OUTPUT_COMMANDS([
>         # In autoconf-2.13 it is called $ac_given_srcdir.
>         # In autoconf-2.50 it is called $srcdir.
>         test -n "$ac_given_srcdir" || ac_given_srcdir="$srcdir"])
> AM_GNU_GETTEXT
> 
> 
> 
> 
> On Mon, 5 Aug 2002, Jerry Chamberlin wrote:
> 
> > Someone on another project fixed all the incompatable stuff in their confiure.in
> > file.
> > 
> > So I guess it would be ok to update, I am looking at the configure.in but it's
> > MONDAY night and I am missing it completely.
> > Will post if I find it.
> > 
> > 
> > The Net Lab year 2000 and beyond Internet Education is Science
> > http://www.netlab.org
> > WA0JRJ - Jerry
> > used to be ICQ 6408731
> > used to be AIM PappyJerry
> > 
> > _______________________________________________
> > Xastir-dev mailing list
> > Xastir-dev at krypton.hscs.virginia.edu
> > http://krypton.hscs.virginia.edu/mailman/listinfo/xastir-dev
> > 
> 
> The Net Lab year 2000 and beyond Internet Education is Science
> http://www.netlab.org
> WA0JRJ - Jerry
> used to be ICQ 6408731
> used to be AIM PappyJerry
> 
> _______________________________________________
> Xastir-dev mailing list
> Xastir-dev at krypton.hscs.virginia.edu
> http://krypton.hscs.virginia.edu/mailman/listinfo/xastir-dev
> 

The Net Lab year 2000 and beyond Internet Education is Science
http://www.netlab.org
WA0JRJ - Jerry
used to be ICQ 6408731
used to be AIM PappyJerry
-------------- next part --------------
#!/bin/sh

# version 0.10.35 of gettext required a different kind of Makefile
# in intl/  it won't build with our distributed intl/ and must be
# overwritten
function check_gettext
{
	VERSION=`gettext --version | head -1 | cut -d' ' -f4` 
	MAJOR=`echo $VERSION | cut -d'.' -f1` 
	MINOR=`echo $VERSION | cut -d'.' -f2` 
	MICRO=`echo $VERSION | cut -d'.' -f3` 
 
	if test $MAJOR -gt 0; then
		return
	elif test $MAJOR -eq 0; then
	   if test $MINOR -gt 10; then
		return
	   elif test $MINOR -eq 10 -a $MICRO -gt 35; then
		return
	   fi
	fi

	# now we know they have an old version.  check if it's already
	# been gettextized

	C_VERSION=`sed s/.*gettext-// intl/VERSION`

	if test "$VERSION" = "$C_VERSION"; then
		# already run gettextize
		return
	fi

	#gettextize --force --copy
	
	# running gettextize is too harsh and destructive.  give the user
	# the option

	echo "************************************************************"
	echo "Your version of gettext ($VERSION) is older than 0.10.38 and"
	echo "is not compatible with the version that we distribute.  You"
	echo "should either upgrade to version 0.10.38 (0.10.39 preferred)"
	echo "or run gettextize --force --copy before proceeding."
	echo ""
	echo "$0 will not continue until you have fixed this."
	echo "************************************************************"

	exit 1
}

libtoolize --copy --force --ltdl
check_gettext
aclocal -I m4
automake -a
autoconf


More information about the Xastir-dev mailing list