GithubHelp home page GithubHelp logo

autotools-mirror / autoconf Goto Github PK

View Code? Open in Web Editor NEW
40.0 8.0 22.0 16.08 MB

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

Makefile 3.51% Perl 9.31% Shell 2.36% TeX 12.06% Emacs Lisp 0.26% M4 29.60% Roff 42.80% Scheme 0.07% Nix 0.04%
autoconf autotools gnu mirror m4

autoconf's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

autoconf's Issues

Info: How to perform test in the autoconf

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

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

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.