Skip to content

Commit

Permalink
more automake fun
Browse files Browse the repository at this point in the history
  • Loading branch information
liewegas committed Jan 28, 2008
1 parent 0e8e273 commit 307723d
Show file tree
Hide file tree
Showing 6 changed files with 40 additions and 12 deletions.
14 changes: 13 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,8 +1,20 @@
*.o
*.a
*~
*.co
.depend
.deps
web/*.html
gmon.out
core.*
vgcore.*
Makefile
Makefile.in
aclocal.m4
autom4te.cache
config.log
config.status
configure
stamp-h1
depcomp
install-sh
missing
1 change: 0 additions & 1 deletion INSTALL

This file was deleted.

15 changes: 15 additions & 0 deletions INSTALL
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
Installation Instructions
*************************

If pulling from git, you first need to build the configure script with

$ ./reconf

Then,

$ ./configure
$ make

Note that if the FUSE library is not found, the user-space fuse client
will not be built.

2 changes: 1 addition & 1 deletion Makefile.am
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
AUTOMAKE_OPTIONS = gnu
EXTRA_DIST = doc web reconf
EXTRA_DIST = web reconf
SUBDIRS = src
14 changes: 6 additions & 8 deletions configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,7 @@ AC_CHECK_LIB([pthread], [pthread_create])

# fuse?
AC_ARG_WITH([fuse],
[AS_HELP_STRING([--with-fuse]),
[use FUSE library for client])],
[AS_HELP_STRING([--with-fuse], [use FUSE library for client])],
[],
[with_fuse=check])
LIBFUSE=
Expand All @@ -41,7 +40,7 @@ AM_CONDITIONAL(WITH_FUSE, [test "$HAVE_LIBFUSE" = "1"])

# CommonC++?
AC_ARG_WITH([ccgnu],
[AS_HELP_STRING([--with-ccgnu]),
[AS_HELP_STRING([--with-ccgnu],
[use CommonC++ library for fast thread-safe reference counting])],
[],
[with_ccgnu=check])
Expand All @@ -61,11 +60,10 @@ AS_IF([test "x$with_ccgnu" != xno],
AM_CONDITIONAL(WITH_CCGNU, test "WITH_CCGNU" = "1")

# newsyn? requires mpi.
AC_ARG_WITH([newsyn],
[AS_HELP_STRING([--with-newsyn]),
[build newsyn target, requires mpi]],
[],
[with_newsyn=no])
#AC_ARG_WITH([newsyn],
# [AS_HELP_STRING([--with-newsyn], [build newsyn target, requires mpi])],
# [],
# [with_newsyn=no])

# Checks for header files.
AC_HEADER_DIRENT
Expand Down
2 changes: 2 additions & 0 deletions src/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -17,3 +17,5 @@ mnt
TAGS
tags
out
acconfig.h.in
acconfig.h
4 changes: 3 additions & 1 deletion src/include/atomic.h
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,9 @@
#ifndef __CEPH_ATOMIC_H
#define __CEPH_ATOMIC_H

#include "acconfig.h"
#ifdef HAVE_CONFIG_H
# include "acconfig.h"
#endif

#ifdef WITH_CCGNU
/*
Expand Down

0 comments on commit 307723d

Please sign in to comment.