Skip to content

Commit

Permalink
Fix to generate ./configure file
Browse files Browse the repository at this point in the history
  • Loading branch information
mario4tier committed Nov 7, 2024
1 parent 60a9c31 commit 8d62e0c
Show file tree
Hide file tree
Showing 3 changed files with 128 additions and 99 deletions.
23 changes: 23 additions & 0 deletions README-DEVS.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
# Instructions for TA-Lib maintainers
**You do not need to do any of this if you are only a TA-Lib user.**

# How to generate "./configure" script
Dependencies to install:
- automake
- libtool
- autogen

On ubuntu, just do the following:
```sudo apt install automake libtool autogen```

... then execute:
```
$ mkdir -p m4
$ autoreconf -i
```

# How to generate the .tar.gz
```
$ ./configure
$ make dist
```
18 changes: 10 additions & 8 deletions configure.ac
Original file line number Diff line number Diff line change
@@ -1,21 +1,24 @@
# -*- Autoconf -*-
# Process this file with autoconf to produce a configure script.

AC_PREREQ(2.59)
AC_COPYRIGHT([(c) TicTacTec 2005, 2006])
AC_INIT([ta-lib], [git], [https://github.com/TA-Lib/ta-lib])
AC_PREREQ([2.71])
AC_COPYRIGHT([(c) Mario Fortier 1999-2024])
AC_INIT([ta-lib],[git],[https://github.com/TA-Lib/ta-lib])
AC_CONFIG_MACRO_DIRS([m4])
AC_CONFIG_SRCDIR([src/ta_func/ta_AD.c])
AC_CONFIG_HEADER([include/ta_config.h])
AC_CONFIG_HEADERS([include/ta_config.h])
AM_INIT_AUTOMAKE([foreign subdir-objects -Wall -Werror])

# Checks for programs.
AM_PROG_AR
AC_PROG_CC
AC_PROG_LIBTOOL
LT_INIT

# Autoupdate added the next two lines to ensure that your configure
# script's behavior did not change. They are probably safe to remove.
AC_CHECK_INCLUDES_DEFAULT
AC_PROG_EGREP

# Checks for header files.
AC_HEADER_STDC
AC_CHECK_HEADERS([float.h inttypes.h limits.h locale.h stddef.h stdint.h stdlib.h string.h unistd.h wchar.h wctype.h])

# Checks for typedefs, structures, and compiler characteristics.
Expand All @@ -26,7 +29,6 @@ AC_C_VOLATILE
AC_CHECK_TYPES([ptrdiff_t])

# Checks for library functions.
AC_TYPE_SIGNAL
AC_FUNC_STRCOLL
AC_FUNC_STRFTIME
AC_FUNC_STRTOD
Expand Down
Loading

0 comments on commit 8d62e0c

Please sign in to comment.