autotools-mirror / autoconf Goto Github PK
View Code? Open in Web Editor NEWGNU Autoconf. Mirror of git://git.savannah.gnu.org/autoconf.git
Home Page: https://www.gnu.org/software/autoconf/
License: GNU General Public License v2.0
GNU Autoconf. Mirror of git://git.savannah.gnu.org/autoconf.git
Home Page: https://www.gnu.org/software/autoconf/
License: GNU General Public License v2.0
I have a following configure.ac script which is not working, Looking for help here.
AC_ARG_VAR(MIN_UCASE_CHRS, [minimum number of upper case characters in the password])
AS_IF([test "x$MIN_UCASE_CHRS" == "x"], [MIN_UCASE_CHRS=3])
AC_DEFINE_UNQUOTED([MIN_UCASE_CHRS], [$MIN_UCASE_CHRS], [minimum number of upper case characters in the password])
AC_ARG_VAR(MIN_LCASE_CHRS, [minimum number of lower case characters in the password])
AS_IF([test "x$MIN_LCASE_CHRS" == "x"], [MIN_LCASE_CHRS=3])
AC_DEFINE_UNQUOTED([MIN_LCASE_CHRS], [$MIN_LCASE_CHRS], [minimum number of lower case characters in the password])
AC_ARG_VAR(MIN_DIGITS, [minimum number of digits in the password])
AS_IF([test "x$MIN_DIGITS" == "x"], [MIN_DIGITS=3])
AC_DEFINE_UNQUOTED([MIN_DIGITS], [$MIN_DIGITS], [minimum number of digits in the password])
AC_ARG_VAR(MIN_PASSWORD_LENGTH, [minimum number of digits in the password])
AS_IF([test "x$MIN_PASSWORD_LENGTH" == "x"], [MIN_PASSWORD_LENGTH=8])
AC_DEFINE_UNQUOTED([MIN_PASSWORD_LENGTH], [$MIN_PASSWORD_LENGTH], [min password length])
#AS_IF([test $MIN_DIGITS + $MIN_LCASE_CHRS + $MIN_UCASE_CHRS > $MIN_PASSWORD_LENGTH], [AC_MSG_ERROR([Min password length should be greater then sum of minLcase,Min U case,Min Digits])])
if test $MIN_DIGITS + $MIN_LCASE_CHRS + $MIN_UCASE_CHRS > $MIN_PASSWORD_LENGTH
then
AC_MSG_ERROR([Min password length should be greater then sum of minLcase,Min U case,Min Digits])
fi
I was expecting that during configure step I should get an error saying "Min password length should be greater then sum of ...".
Can you help here what I am missing?
autoconf 2.69 build not work on fedora 39
./configure --prefix=/usr
make
make[3]: Entering directory '$HOME/rpmbuild/BUILD/autoconf-2.69/lib'
rm -f autom4te.cfg autom4te.tmp
sed -e 's|@SHELL[@]|/bin/sh|g' -e 's|@PERL[@]|/usr/bin/perl|g' -e 's|@bindir[@]|/usr/bin|g' -e 's|@pkgdatadir[@]|/usr/share/autoconf|g' -e 's|@prefix[@]|/usr|g' -e 's|@autoconf-name[@]|'`echo autoconf | sed 's,x,x,'`'|g' -e 's|@autoheader-name[@]|'`echo autoheader | sed 's,x,x,'`'|g' -e 's|@autom4te-name[@]|'`echo autom4te | sed 's,x,x,'`'|g' -e 's|@M4[@]|/usr/bin/m4|g' -e 's|@AWK[@]|gawk|g' -e 's|@VERSION[@]|2.69|g' -e 's|@PACKAGE_NAME[@]|GNU Autoconf|g' ./autom4te.in >autom4te.tmp
chmod a-w autom4te.tmp
mv autom4te.tmp autom4te.cfg
make[3]: Leaving directory '$HOME/rpmbuild/BUILD/autoconf-2.69/lib'
make[2]: Leaving directory '$HOME/rpmbuild/BUILD/autoconf-2.69/lib'
Making all in doc
make[2]: Entering directory '$HOME/rpmbuild/BUILD/autoconf-2.69/doc'
restore=: && backupdir=".am$$" && \
am__cwd=`pwd` && CDPATH="${ZSH_VERSION+.}:" && cd . && \
rm -rf $backupdir && mkdir $backupdir && \
if (/bin/sh $HOME/rpmbuild/BUILD/autoconf-2.69/build-aux/missing --run makeinfo --version) >/dev/null 2>&1; then \
for f in autoconf.info autoconf.info-[0-9] autoconf.info-[0-9][0-9] autoconf.i[0-9] autoconf.i[0-9][0-9]; do \
if test -f $f; then mv $f $backupdir; restore=mv; else :; fi; \
done; \
else :; fi && \
cd "$am__cwd"; \
if /bin/sh $HOME/rpmbuild/BUILD/autoconf-2.69/build-aux/missing --run makeinfo --no-split -I . \
-o autoconf.info autoconf.texi; \
then \
rc=0; \
CDPATH="${ZSH_VERSION+.}:" && cd .; \
else \
rc=$?; \
CDPATH="${ZSH_VERSION+.}:" && cd . && \
$restore $backupdir/* `echo "./autoconf.info" | sed 's|[^/]*$||'`; \
fi; \
rm -rf $backupdir; exit $rc
autoconf.texi:9: unknown command `setcontentsaftertitlepage'
autoconf.texi:8028: misplaced }
autoconf.texi:8029: must be after `@defmac' to use `@defmacx'
autoconf.texi:8030: misplaced }
autoconf.texi:8217: must be after `@defmac' to use `@defmacx'
autoconf.texi:8282: misplaced }
autoconf.texi:8301: misplaced }
autoconf.texi:8328: misplaced }
autoconf.texi:8391: must be after `@defmac' to use `@defmacx'
conftest.c:4597: must be after `@defmac' to use `@defmacx'
conftest.c:15930: must be after `@defmac' to use `@defmacx'
make[2]: *** [Makefile:251: autoconf.info] Error 1
make[2]: Leaving directory '$HOME/rpmbuild/BUILD/autoconf-2.69/doc'
make[1]: *** [Makefile:357: all-recursive] Error 1
make[1]: Leaving directory '$HOME/rpmbuild/BUILD/autoconf-2.69'
make: *** [Makefile:292: all] Error 2
please solve thank
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.