Skip to content

Commit

Permalink
Fix "install" target.
Browse files Browse the repository at this point in the history
Add NANOTIME (gcc only) option.
Replace gettimeofday with generic utr (underlying timing routine)
Remove DIAG
Interpret multiple nested "start" calls as recursion.
In NUMERIC mode shift tag by 2 bits.
  • Loading branch information
rosinski committed Aug 30, 2005
1 parent 520f817 commit 4ad4d39
Show file tree
Hide file tree
Showing 9 changed files with 473 additions and 142 deletions.
2 changes: 1 addition & 1 deletion Makefile.in
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ $(LIBNAME): $(OBJS)

all: $(LIBNAME) tests/all

install:
install: $(LIBNAME)
cp $(LIBNAME) $(LIBDIR)
cp gptl.h gptl.inc $(INCDIR)
cp man/man3/*.3 $(MANDIR)
Expand Down
7 changes: 6 additions & 1 deletion configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ AC_ARG_ENABLE(bit64,
bit64=YES,bit64=NO)

BITEXT=
CFLAGS=

if test "$bit64" = YES; then
BITEXT=64;
Expand Down Expand Up @@ -97,6 +98,10 @@ AC_ARG_ENABLE(debug,[--enable-debug Enable debugging],
LDFLAGS="$LDFLAGS -g"
FLDFLAGS="$FLDFLAGS -g"],)

dnl Whether to enable debugging
AC_ARG_ENABLE(nanotime,[--enable-nanotime Replace gettimeofday with native Linux],
AC_DEFINE([NANOTIME]),)

dnl Add GNU-specific options

if test "$CC" = gcc ; then
Expand All @@ -109,7 +114,7 @@ fi

dnl Whether to enable optimization
AC_ARG_ENABLE(opt,[--enable-opt Optimize for speed],
[CFLAGS="$CFLAGS -O";FFLAGS="$FFLAGS -O"],)
[CFLAGS="$CFLAGS -O3";FFLAGS="$FFLAGS -O"],)

dnl Whether to use numeric rather than character timers
AC_ARG_ENABLE(numeric,[--enable-numeric Numeric rather than character timers],
Expand Down
Loading

0 comments on commit 4ad4d39

Please sign in to comment.