Skip to content

Commit

Permalink
Merge pull request #76 from flightaware/revert-linux
Browse files Browse the repository at this point in the history
Revert linux changes in aclocal.m4
  • Loading branch information
resuna committed Oct 3, 2017
2 parents 3826839 + f88004a commit 6e22e56
Show file tree
Hide file tree
Showing 26 changed files with 36 additions and 51 deletions.
5 changes: 5 additions & 0 deletions README.FreeBSD
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
#
# Get rid of old configurations
#
[ -f Makefile ] && make clean

#
# This makes sure that TEA knows about all the necessary bits and stuffs them into configure from configure.in
#
Expand Down
2 changes: 1 addition & 1 deletion configure.in
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ dnl to configure the system for the local environment.
# so you can encode the package version directly into the source files.
#-----------------------------------------------------------------------

AC_INIT([speedtables], [1.13.7])
AC_INIT([speedtables], [1.13.8])

#--------------------------------------------------------------------
# Call TEA_INIT as the first TEA_ macro to set up initial vars.
Expand Down
2 changes: 1 addition & 1 deletion ctable_server/configure.in
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ dnl to configure the system for the local environment.
# so you can encode the package version directly into the source files.
#-----------------------------------------------------------------------

AC_INIT([ctable_server], [1.13.7])
AC_INIT([ctable_server], [1.13.8])

#--------------------------------------------------------------------
# Call TEA_INIT as the first TEA_ macro to set up initial vars.
Expand Down
2 changes: 1 addition & 1 deletion ctable_server/ctable_client.tcl
Original file line number Diff line number Diff line change
Expand Up @@ -621,6 +621,6 @@ proc maketable {cttpUrl sock} {
return [::sttp_buffer::table $cttpUrl]
}

package provide ctable_client 1.13.7
package provide ctable_client 1.13.8

# vim: set ts=8 sw=4 sts=4 noet :
2 changes: 1 addition & 1 deletion ctable_server/ctable_client_server.tcl
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,6 @@ namespace export split_ctable_url join_ctable_url

}

package provide ctable_net 1.13.7
package provide ctable_net 1.13.8

# vim: set ts=8 sw=4 sts=4 noet :
2 changes: 1 addition & 1 deletion ctable_server/ctable_server.tcl
Original file line number Diff line number Diff line change
Expand Up @@ -678,7 +678,7 @@ proc serverdie {{message ""}} {

}

package provide ctable_server 1.13.7
package provide ctable_server 1.13.8

#get, set, array_get, array_get_with_nulls, exists, delete, count, foreach, sort, type, import, import_postgres_result, export, fields, fieldtype, needs_quoting, names, reset, destroy, statistics, write_tabsep, or read_tabsep

Expand Down
2 changes: 1 addition & 1 deletion ctable_server/sttp_buffer.tcl
Original file line number Diff line number Diff line change
Expand Up @@ -177,6 +177,6 @@ proc table {cttpUrl} {

}

package provide sttp_buffer 1.13.7
package provide sttp_buffer 1.13.8

# vim: set ts=8 sw=4 sts=4 noet :
34 changes: 7 additions & 27 deletions ctables/aclocal.m4
Original file line number Diff line number Diff line change
Expand Up @@ -62,12 +62,12 @@ fi
# Handle the --with-pgsql configure option.
AC_ARG_WITH([pgsql-include],
[ --with-pgsql-include[=PATH] Build with pgsql/pgtcl library support],
AC_ARG_WITH([pgsql],
[ --with-pgsql[=PATH] Build with pgsql/pgtcl library support],
[
AC_MSG_CHECKING([location of libpq include file])
AC_MSG_CHECKING([location of pgsql and pgtcl])
if test "x$withval" = "x" -o "$withval" = "yes"; then
pg_prefixes="/usr/local/include /usr/local/pgsql/include /usr/include /usr/include/postgresql"
pg_prefixes="/usr/local /usr/local/pgsql /usr"
else
pg_prefixes=$withval
fi
Expand All @@ -76,41 +76,21 @@ fi
for prefix in $pg_prefixes
do
# look for pgsql frontend header
if test -f $prefix/libpq-fe.h; then
if test -f $prefix/include/libpq-fe.h; then
sysconfig_tcl_content="$sysconfig_tcl_content
set sysconfig(pqprefix) $prefix"
pqprefix=$prefix
else
continue
fi
done
if test -z "$pqprefix"; then
AC_MSG_ERROR([pgsql libpq-fe.h include file not found under $pg_prefixes])
fi
AC_MSG_RESULT([found under $pqprefix])
])
AC_ARG_WITH([pgtcl-lib],
[ --with-pgtcl-lib[=PATH] Build with pgsql/pgtcl library support],
[
AC_MSG_CHECKING([location of pgtcl])
if test "x$withval" = "x" -o "$withval" = "yes"; then
pg_prefixes="/usr/lib /usr/local/lib"
else
pg_prefixes=$withval
fi
# Look for pgsql and pgtcl
for prefix in $pg_prefixes
do
# there may be multiple installed versions of pgtcl so sort with the highest version first.
pg_libdirs=`find $prefix -maxdepth 2 -name "pgtcl*" -type d | sort -rn`
pg_libdirs=`find $prefix/lib -maxdepth 1 -name "pgtcl*" -type d | sort -rn`
if test -z "$pg_libdirs"; then
continue
fi
# look for pgtcl-ng before pgtcl
pgtclver=""
for dir in $pg_libdirs
do
Expand Down
2 changes: 1 addition & 1 deletion ctables/configure.in
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ dnl to configure the system for the local environment.
# so you can encode the package version directly into the source files.
#-----------------------------------------------------------------------

AC_INIT([ctable], [1.13.7])
AC_INIT([ctable], [1.13.8])

#--------------------------------------------------------------------
# Call TEA_INIT as the first TEA_ macro to set up initial vars.
Expand Down
2 changes: 1 addition & 1 deletion ctables/gentable.tcl
Original file line number Diff line number Diff line change
Expand Up @@ -5687,7 +5687,7 @@ proc compile {fileFragName version} {
set pgString -I$sysconfig(pgtclprefix)/include
if [info exists sysconfig(pqprefix)] {
if {"$sysconfig(pqprefix)" != "$sysconfig(pgtclprefix)"} {
append pgString " -I$sysconfig(pqprefix)"
append pgString " -I$sysconfig(pqprefix)/include"
}
}
} else {
Expand Down
2 changes: 1 addition & 1 deletion stapi/client/cass.tcl
Original file line number Diff line number Diff line change
Expand Up @@ -1236,6 +1236,6 @@ namespace eval ::stapi {
}
}

package provide st_client_cassandra 1.13.7
package provide st_client_cassandra 1.13.8

# vim: set ts=8 sw=4 sts=4 noet :
2 changes: 1 addition & 1 deletion stapi/client/client.tcl
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,6 @@ namespace eval ::stapi {
register package connect_package
}

package provide st_client 1.13.7
package provide st_client 1.13.8

# vim: set ts=8 sw=4 sts=4 noet :
2 changes: 1 addition & 1 deletion stapi/client/extend.tcl
Original file line number Diff line number Diff line change
Expand Up @@ -395,7 +395,7 @@ namespace eval ::stapi {
namespace import ::stapi::extend::*
}

package provide stapi_extend 1.13.7
package provide stapi_extend 1.13.8


# vim: set ts=8 sw=4 sts=4 noet :
2 changes: 1 addition & 1 deletion stapi/client/pgsql.tcl
Original file line number Diff line number Diff line change
Expand Up @@ -952,6 +952,6 @@ namespace eval ::stapi {
}
}

package provide st_client_postgres 1.13.7
package provide st_client_postgres 1.13.8

# vim: set ts=8 sw=4 sts=4 noet :
2 changes: 1 addition & 1 deletion stapi/client/shared.tcl
Original file line number Diff line number Diff line change
Expand Up @@ -115,6 +115,6 @@ namespace eval ::stapi {
}
}

package provide st_shared 1.13.7
package provide st_shared 1.13.8

# vim: set ts=8 sw=4 sts=4 noet :
2 changes: 1 addition & 1 deletion stapi/client/uri.tcl
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,6 @@ namespace eval stapi {

}

package provide st_client_uri 1.13.7
package provide st_client_uri 1.13.8

# vim: set ts=8 sw=4 sts=4 noet :
2 changes: 1 addition & 1 deletion stapi/configure.in
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ dnl to configure the system for the local environment.
# so you can encode the package version directly into the source files.
#-----------------------------------------------------------------------

AC_INIT([stapi], [1.13.7])
AC_INIT([stapi], [1.13.8])

#--------------------------------------------------------------------
# Call TEA_INIT as the first TEA_ macro to set up initial vars.
Expand Down
2 changes: 1 addition & 1 deletion stapi/copy.tcl
Original file line number Diff line number Diff line change
Expand Up @@ -167,5 +167,5 @@ namespace eval ::stapi {
}
}

package provide st_postgres 1.13.7
package provide st_postgres 1.13.8

2 changes: 1 addition & 1 deletion stapi/debug.tcl
Original file line number Diff line number Diff line change
Expand Up @@ -54,4 +54,4 @@ namespace eval ::stapi {
}
}

package provide st_debug 1.13.7
package provide st_debug 1.13.8
2 changes: 1 addition & 1 deletion stapi/display/display.tcl
Original file line number Diff line number Diff line change
Expand Up @@ -2576,5 +2576,5 @@ catch { ::itcl::delete class ::STDisplayField_boolean }
} ; ## ::itcl::class ::STDisplayField_boolean
package provide st_display 1.13.7
package provide st_display 1.13.8
2 changes: 1 addition & 1 deletion stapi/display/test.tcl
Original file line number Diff line number Diff line change
Expand Up @@ -29,4 +29,4 @@ proc stapi_display_test {} {
}
}

package provide st_display_test 1.13.7
package provide st_display_test 1.13.8
2 changes: 1 addition & 1 deletion stapi/pgsql.tcl
Original file line number Diff line number Diff line change
Expand Up @@ -379,4 +379,4 @@ namespace eval ::stapi {
}
}

package provide st_postgres 1.13.7
package provide st_postgres 1.13.8
2 changes: 1 addition & 1 deletion stapi/server/lock.tcl
Original file line number Diff line number Diff line change
Expand Up @@ -185,4 +185,4 @@ namespace eval ::stapi {
}
}

package provide st_locks 1.13.7
package provide st_locks 1.13.8
2 changes: 1 addition & 1 deletion stapi/server/server.tcl
Original file line number Diff line number Diff line change
Expand Up @@ -1279,4 +1279,4 @@ namespace eval ::stapi {
}
}
package provide st_server 1.13.7
package provide st_server 1.13.8
2 changes: 1 addition & 1 deletion stapi/stapi.tcl
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@

package require st_client

package provide stapi 1.13.7
package provide stapi 1.13.8

2 changes: 1 addition & 1 deletion update_ver.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

# This script simplifies the process of incrementing all version numbers for a new release.

NEWVER="1.13.7"
NEWVER="1.13.8"

perl -p -i -e "s/^(AC_INIT\\(\\[[a-z_]+\\],) \\[[0-9.]+\\]/\\1 \\[$NEWVER\\]/" configure.in ctables/configure.in stapi/configure.in ctable_server/configure.in

Expand Down

0 comments on commit 6e22e56

Please sign in to comment.