Giter Club home page Giter Club logo

autoconf's Introduction

-*- text -*-

Autoconf

Autoconf is an extensible package of M4 macros that produce shell
scripts to automatically configure software source code packages.
These scripts can adapt the packages to many kinds of UNIX-like
systems without manual user intervention.  Autoconf creates a
configuration script for a package from a template file that lists the
operating system features that the package can use, in the form of M4
macro calls.

Producing configuration scripts using Autoconf requires GNU M4 and
Perl.  You should install GNU M4 (version 1.4.8 or later is required;
1.4.16 or later is recommended) and Perl (5.006 or later) before
configuring Autoconf, so that Autoconf's configure script can find
them.  The configuration scripts produced by Autoconf are
self-contained, so their users do not need to have Autoconf (or GNU
M4, Perl, etc.).

You can get GNU M4 here:

https://ftp.gnu.org/gnu/m4/

The file INSTALL should be distributed with packages that use
Autoconf-generated configure scripts and Makefiles that conform to the
GNU coding standards.  The package's README can just give an overview
of the package, where to report bugs, and a pointer to INSTALL for
instructions on compilation and installation.  This removes the need
to maintain many similar sets of installation instructions.

Be sure to read BUGS and INSTALL.

Mail suggestions to [email protected], report bugs to
[email protected], and submit patches to [email protected].
All changes can be tracked at the read-only [email protected].
Always include the Autoconf version number, which you can get by
running 'autoconf --version'.  Archives of [email protected] can be
found in <https://lists.gnu.org/archive/html/bug-autoconf/>, and
similarly for the other mailing lists.

Licensing
=========
Autoconf is released under the General Public License version 3 (GPLv3+).
Additionally, Autoconf includes a licensing exception in some of its
source files; see the respective copyright notices for how your
project is impacted by including scripts generated by Autoconf, and the
COPYING.EXCEPTION file for the exception in terms of the Additional
Permissions as described in section 7 of GPLv3.

For more licensing information, see
<https://www.gnu.org/licenses/gpl-faq.html> and
<https://www.gnu.org/licenses/exceptions.html>.

For any copyright year range specified as YYYY-ZZZZ in this package
note that the range specifies every single year in that closed interval.

GNU Project notice
==================
Autoconf is part of the GNU Operating System, developed by the GNU Project.

If you are the author of an awesome program and want to join us in
writing Free (libre) Software, please consider making it an official
GNU program and become a GNU Maintainer.  Instructions on how to do
this are here:
  https://www.gnu.org/help/evaluation

Don't have a program to contribute?  Look at all the other ways to help:
  https://www.gnu.org/help/help.html

And to learn more about Free (libre) Software in general, please read
and share this page:
  https://gnu.org/philosophy/free-sw.html

We are looking forward to hacking with you!

-----

Copyright (C) 1992-1994, 1998, 2000-2017, 2020-2024 Free Software
Foundation, Inc.

Copying and distribution of this file, with or without modification,
are permitted in any medium without royalty provided the copyright
notice and this notice are preserved.  This file is offered as-is,
without warranty of any kind.

autoconf's People

Contributors

adl avatar akimd avatar andreas-schwab avatar arnoldrobbins avatar bhaible avatar bonzini avatar dcolascione avatar dmacnet avatar ebblake avatar eggert avatar eli-schwartz avatar exg avatar gvvaughan avatar jannick0 avatar jimblandy avatar kasal avatar kberry avatar kryde avatar meyering avatar noahfriedman avatar perbothner avatar peterbrei avatar petere avatar slattarini avatar snogglethorpe avatar stevengj avatar tsuna avatar vapier avatar wrp avatar zackw avatar

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

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

autoconf's Issues

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

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?

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.