Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Run autoupdate on Ubuntu 22.04 #212

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 12 additions & 5 deletions configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ m4_define([__MAJOR_VERSION], [4])dnl
m4_define([__MINOR_VERSION], [1])dnl
m4_define([__MICRO_VERSION], [1])dnl
m4_define([__VERSION], [__MAJOR_VERSION.__MINOR_VERSION.__MICRO_VERSION])dnl
AC_INIT(QRencode, __VERSION)
AC_INIT([QRencode],[__VERSION])

MAJOR_VERSION=__MAJOR_VERSION
MINOR_VERSION=__MINOR_VERSION
Expand All @@ -26,14 +26,22 @@ AM_INIT_AUTOMAKE
AC_DISABLE_STATIC
AC_C_CONST
AC_C_INLINE
AC_HEADER_STDC
m4_warn([obsolete],
[The preprocessor macro `STDC_HEADERS' is obsolete.
Except in unusual embedded environments, you can safely include all
ISO C90 headers unconditionally.])dnl
# Autoupdate added the next two lines to ensure that your configure
# script's behavior did not change. They are probably safe to remove.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Shouldn't this be checked and removed if possible?

AC_CHECK_INCLUDES_DEFAULT
AC_PROG_EGREP

AC_CHECK_HEADERS(sys/time.h)

LT_INIT
AC_PROG_CC
AM_PROG_CC_C_O
AC_PROG_INSTALL
AC_PROG_LIBTOOL
LT_INIT
PKG_PROG_PKG_CONFIG

case "${target}" in
Expand Down Expand Up @@ -61,8 +69,7 @@ if test x$ac_cv_lib_pthread_pthread_mutex_init = xyes ; then
fi

AC_ARG_WITH(png,
[AC_HELP_STRING([--without-png],
[disable PNG support])],
[AS_HELP_STRING([--without-png],[disable PNG support])],
[with_png=$withval], [with_png=yes])

dnl --with-tools
Expand Down