Skip to content

Commit 15fff72

Browse files
committed
update configure script
1 parent 3205f66 commit 15fff72

3 files changed

Lines changed: 34 additions & 18 deletions

File tree

config.h.in

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
/* config.h.in. Generated from configure.ac by autoheader. */
22

3+
/* Define to 1 if you have the <ctype.h> header file. */
4+
#undef HAVE_CTYPE_H
5+
36
/* Define to 1 if you have the <inttypes.h> header file. */
47
#undef HAVE_INTTYPES_H
58

@@ -14,9 +17,15 @@
1417
and to 0 otherwise. */
1518
#undef HAVE_REALLOC
1619

20+
/* Define to 1 if you have the <stdarg.h> header file. */
21+
#undef HAVE_STDARG_H
22+
1723
/* Define to 1 if you have the <stdint.h> header file. */
1824
#undef HAVE_STDINT_H
1925

26+
/* Define to 1 if you have the <stdio.h> header file. */
27+
#undef HAVE_STDIO_H
28+
2029
/* Define to 1 if you have the <stdlib.h> header file. */
2130
#undef HAVE_STDLIB_H
2231

@@ -26,6 +35,9 @@
2635
/* Define to 1 if you have the <string.h> header file. */
2736
#undef HAVE_STRING_H
2837

38+
/* Define to 1 if you have the `strncat' function. */
39+
#undef HAVE_STRNCAT
40+
2941
/* Define to 1 if you have the `strtol' function. */
3042
#undef HAVE_STRTOL
3143

@@ -35,6 +47,9 @@
3547
/* Define to 1 if you have the <sys/types.h> header file. */
3648
#undef HAVE_SYS_TYPES_H
3749

50+
/* Define to 1 if you have the <time.h> header file. */
51+
#undef HAVE_TIME_H
52+
3853
/* Define to 1 if you have the <unistd.h> header file. */
3954
#undef HAVE_UNISTD_H
4055

configure

Lines changed: 16 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#! /bin/sh
22
# Guess values for system-dependent variables and create Makefiles.
3-
# Generated by GNU Autoconf 2.69 for progres 0.0.5.
3+
# Generated by GNU Autoconf 2.69 for progres 0.0.7.
44
#
55
# Report bugs to <tiago@tmatos.net>.
66
#
@@ -580,8 +580,8 @@ MAKEFLAGS=
580580
# Identity of this package.
581581
PACKAGE_NAME='progres'
582582
PACKAGE_TARNAME='progres'
583-
PACKAGE_VERSION='0.0.5'
584-
PACKAGE_STRING='progres 0.0.5'
583+
PACKAGE_VERSION='0.0.7'
584+
PACKAGE_STRING='progres 0.0.7'
585585
PACKAGE_BUGREPORT='tiago@tmatos.net'
586586
PACKAGE_URL=''
587587

@@ -1277,7 +1277,7 @@ if test "$ac_init_help" = "long"; then
12771277
# Omit some internal or obsolete options to make the list less imposing.
12781278
# This message is too long to be a string in the A/UX 3.1 sh.
12791279
cat <<_ACEOF
1280-
\`configure' configures progres 0.0.5 to adapt to many kinds of systems.
1280+
\`configure' configures progres 0.0.7 to adapt to many kinds of systems.
12811281
12821282
Usage: $0 [OPTION]... [VAR=VALUE]...
12831283
@@ -1344,7 +1344,7 @@ fi
13441344

13451345
if test -n "$ac_init_help"; then
13461346
case $ac_init_help in
1347-
short | recursive ) echo "Configuration of progres 0.0.5:";;
1347+
short | recursive ) echo "Configuration of progres 0.0.7:";;
13481348
esac
13491349
cat <<\_ACEOF
13501350
@@ -1435,7 +1435,7 @@ fi
14351435
test -n "$ac_init_help" && exit $ac_status
14361436
if $ac_init_version; then
14371437
cat <<\_ACEOF
1438-
progres configure 0.0.5
1438+
progres configure 0.0.7
14391439
generated by GNU Autoconf 2.69
14401440
14411441
Copyright (C) 2012 Free Software Foundation, Inc.
@@ -1858,7 +1858,7 @@ cat >config.log <<_ACEOF
18581858
This file contains any messages produced by compilers while
18591859
running configure, to aid debugging if configure makes a mistake.
18601860
1861-
It was created by progres $as_me 0.0.5, which was
1861+
It was created by progres $as_me 0.0.7, which was
18621862
generated by GNU Autoconf 2.69. Invocation command line was
18631863
18641864
$ $0 $@
@@ -2721,7 +2721,7 @@ fi
27212721
27222722
# Define the identity of the package.
27232723
PACKAGE='progres'
2724-
VERSION='0.0.5'
2724+
VERSION='0.0.7'
27252725
27262726
27272727
cat >>confdefs.h <<_ACEOF
@@ -4260,7 +4260,7 @@ fi
42604260
done
42614261
42624262
4263-
for ac_header in stdlib.h string.h
4263+
for ac_header in stdio.h stdlib.h string.h stdarg.h ctype.h time.h
42644264
do :
42654265
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
42664266
ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
@@ -4555,12 +4555,13 @@ $as_echo "#define realloc rpl_realloc" >>confdefs.h
45554555
fi
45564556
45574557
4558-
for ac_func in strtol
4558+
for ac_func in strtol strncat
45594559
do :
4560-
ac_fn_c_check_func "$LINENO" "strtol" "ac_cv_func_strtol"
4561-
if test "x$ac_cv_func_strtol" = xyes; then :
4560+
as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
4561+
ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
4562+
if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
45624563
cat >>confdefs.h <<_ACEOF
4563-
#define HAVE_STRTOL 1
4564+
#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
45644565
_ACEOF
45654566
45664567
fi
@@ -5100,7 +5101,7 @@ cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
51005101
# report actual input values of CONFIG_FILES etc. instead of their
51015102
# values after options handling.
51025103
ac_log="
5103-
This file was extended by progres $as_me 0.0.5, which was
5104+
This file was extended by progres $as_me 0.0.7, which was
51045105
generated by GNU Autoconf 2.69. Invocation command line was
51055106
51065107
CONFIG_FILES = $CONFIG_FILES
@@ -5166,7 +5167,7 @@ _ACEOF
51665167
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
51675168
ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
51685169
ac_cs_version="\\
5169-
progres config.status 0.0.5
5170+
progres config.status 0.0.7
51705171
configured by $0, generated by GNU Autoconf 2.69,
51715172
with options \\"\$ac_cs_config\\"
51725173

configure.ac

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
# Process this file with autoconf to produce a configure script.
33

44
AC_PREREQ([2.69])
5-
AC_INIT([progres], [0.0.5], [tiago@tmatos.net])
5+
AC_INIT([progres], [0.0.7], [tiago@tmatos.net])
66
AM_INIT_AUTOMAKE(foreign -Wall)
77
AC_CONFIG_SRCDIR([./])
88
AC_CONFIG_HEADERS([config.h])
@@ -13,7 +13,7 @@ AC_PROG_CC
1313
# Checks for libraries.
1414

1515
# Checks for header files.
16-
AC_CHECK_HEADERS([stdlib.h string.h])
16+
AC_CHECK_HEADERS([stdio.h stdlib.h string.h stdarg.h ctype.h time.h ])
1717

1818
# Checks for typedefs, structures, and compiler characteristics.
1919
AC_CHECK_HEADER_STDBOOL
@@ -23,7 +23,7 @@ AC_TYPE_SIZE_T
2323
# Checks for library functions.
2424
AC_FUNC_MALLOC
2525
AC_FUNC_REALLOC
26-
AC_CHECK_FUNCS([strtol])
26+
AC_CHECK_FUNCS([strtol strncat])
2727

2828
AC_CONFIG_FILES([Makefile])
2929

0 commit comments

Comments
 (0)