Changeset 3785
- Timestamp:
- Apr 28, 2005, 4:03:02 PM (21 years ago)
- Location:
- trunk/psLib
- Files:
-
- 8 deleted
- 4 edited
-
Makefile.cvs (modified) (1 diff)
-
NEWS (deleted)
-
config.guess (deleted)
-
config.sub (deleted)
-
configure.ac (modified) (14 diffs)
-
depcomp (deleted)
-
install-sh (deleted)
-
ltmain.sh (deleted)
-
missing (deleted)
-
mkinstalldirs (deleted)
-
swig/Makefile.PL (modified) (3 diffs)
-
test/image/Makefile.am (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psLib/Makefile.cvs
r3238 r3785 3 3 all: 4 4 if [ "`which glibtoolize 2> /dev/null`" != "" ] ; then glibtoolize --force ; else libtoolize --force ; fi 5 aclocal 6 autoheader 7 automake 8 autoconf 5 aclocal --force 6 autoheader --force 7 automake --add-missing --force 8 autoconf --force 9 9 -
trunk/psLib/configure.ac
r3779 r3785 1 AC_INIT([pslib],[0.6.0],[http://www.pan-starrs.org/bugzilla]) 1 AC_PREREQ(2.59) 2 3 AC_INIT([pslib],[0.6.0],[http://pan-starrs.ifa.hawaii.edu/bugzilla]) 4 AC_CONFIG_SRCDIR([pslib.pc.in]) 2 5 AC_CANONICAL_TARGET 3 AM_CONFIG_HEADER(src/config.h) 4 AM_INIT_AUTOMAKE(1.6) 6 7 AM_INIT_AUTOMAKE([1.6 foreign dist-bzip2]) 8 AC_CONFIG_HEADERS([src/config.h]) 9 AM_MAINTAINER_MODE 5 10 6 11 PSLIB_LT_VERSION="0:5:0" … … 14 19 dnl handle debug building 15 20 AC_ARG_ENABLE(optimize, 16 [A C_HELP_STRING([--enable-optimize],[enable compiler optimization])],21 [AS_HELP_STRING(--enable-optimize,enable compiler optimization)], 17 22 [AC_MSG_RESULT(compile optimization enabled) 18 23 CFLAGS="${CFLAGS=} -O2"], … … 57 62 PSLIB_LIBS="${FLIBS=}" 58 63 64 dnl check for standard language functionality 65 AC_HEADER_STDC 66 AC_HEADER_SYS_WAIT 67 AC_CHECK_HEADERS([float.h limits.h stdint.h stdlib.h string.h sys/time.h unistd.h]) 68 AC_HEADER_STDBOOL 69 AC_C_CONST 70 AC_C_INLINE 71 AC_TYPE_PID_T 72 AC_C_RESTRICT 73 AC_TYPE_SIZE_T 74 AC_HEADER_TIME 75 AC_STRUCT_TM 76 77 dnl Checks for library functions. 78 AC_FUNC_ERROR_AT_LINE 79 AC_FUNC_FORK 80 AC_FUNC_MALLOC 81 AC_FUNC_MEMCMP 82 AC_FUNC_REALLOC 83 AC_FUNC_STRFTIME 84 AC_FUNC_STRTOD 85 AC_FUNC_VPRINTF 86 AC_CHECK_FUNCS([floor gethostname gettimeofday memmove memset mkdir pow regcomp sqrt strchr strcspn strerror strrchr strstr strtol strtoul strtoull]) 87 59 88 dnl ----------------- MYSQL options -------------------- 60 89 dnl MYSQL_LDFLAGS="-L${libdir}/mysql" 61 90 dnl MYSQL_CFLAGS="-I${includedir}/mysql" 62 91 AC_ARG_ENABLE(mysql, 63 [A C_HELP_STRING([--disable-mysql],[Disable MySQL functionality])],92 [AS_HELP_STRING(--disable-mysql,Disable MySQL functionality)], 64 93 [MYSQL_REQ=$enableval], 65 94 [MYSQL_REQ="yes"]) … … 69 98 AC_MSG_RESULT([enable building MySQL functionality]) 70 99 AC_ARG_WITH(mysql_config, 71 [A C_HELP_STRING([--with-mysql_config=FILE],[Specify location of MYSQL configuration script.])],100 [AS_HELP_STRING(--with-mysql_config=FILE,Specify location of MYSQL configuration script.)], 72 101 [MYSQL_CONFIG=$withval], 73 102 [MYSQL_CONFIG=`which mysql_config`]) … … 106 135 dnl ----------------- CFITSIO options -------------------- 107 136 AC_ARG_WITH(cfitsio, 108 [A C_HELP_STRING([--with-cfitsio=DIR],[Specify location of CFITSIO.])],137 [AS_HELP_STRING(--with-cfitsio=DIR,Specify location of CFITSIO.)], 109 138 [CFITSIO_CFLAGS="-I$withval/include" 110 139 CFITSIO_LDFLAGS="-L$withval/lib"]) 111 140 AC_ARG_WITH(cfitsio-include, 112 [A C_HELP_STRING([--with-cfitsio-include=DIR],[Specify CFITSIO include directory.])],141 [AS_HELP_STRING(--with-cfitsio-include=DIR,Specify CFITSIO include directory.)], 113 142 [CFITSIO_CFLAGS="-I$withval"]) 114 143 AC_ARG_WITH(cfitsio-lib, 115 [A C_HELP_STRING([--with-cfitsio-lib=DIR],[Specify CFITSIO library directory.])],144 [AS_HELP_STRING(--with-cfitsio-lib=DIR,Specify CFITSIO library directory.)], 116 145 [CFITSIO_LDFLAGS="-L$withval"]) 117 146 CFLAGS="${CFLAGS=} $CFITSIO_CFLAGS" … … 123 152 dnl ------------------ FFTW3 options --------------------- 124 153 AC_ARG_WITH(fftw3, 125 [A C_HELP_STRING([--with-fftw3=DIR],[Specify location of FFTW version 3.])],154 [AS_HELP_STRING(--with-fftw3=DIR,Specify location of FFTW version 3.)], 126 155 [FFTW3_CFLAGS="-I$withval/include" 127 156 FFTW3_LDFLAGS="-L$withval/lib"]) 128 157 AC_ARG_WITH(fftw3-include, 129 [A C_HELP_STRING([--with-fftw3-include=DIR],[Specify FFTW version 3 include directory.])],158 [AS_HELP_STRING(--with-fftw3-include=DIR,Specify FFTW version 3 include directory.)], 130 159 [FFTW3_CFLAGS="-I$withval"]) 131 160 AC_ARG_WITH(fftw3-lib, 132 [A C_HELP_STRING([--with-fftw3-lib=DIR],[Specify FFTW version 3 library directory.])],161 [AS_HELP_STRING(--with-fftw3-lib=DIR,Specify FFTW version 3 library directory.)], 133 162 [FFTW3_LDFLAGS="-L$withval"]) 134 163 CFLAGS="${CFLAGS=} $FFTW3_CFLAGS" … … 141 170 dnl -------------------- GSL options --------------------- 142 171 AC_ARG_WITH(gsl-config, 143 [A C_HELP_STRING([--with-gsl-config=FILE],[Specify location of gsl-config.])],172 [AS_HELP_STRING(--with-gsl-config=FILE,Specify location of gsl-config.)], 144 173 [GSL_CONFIG=$withval], 145 174 [GSL_CONFIG=`which gsl-config`]) … … 155 184 dnl ------------------- XML2 options --------------------- 156 185 AC_ARG_WITH(xml2-config, 157 [A C_HELP_STRING([--with-xml2-config=FILE],[Specify location of xml2-config.])],186 [AS_HELP_STRING(--with-xml2-config=FILE,Specify location of xml2-config.)], 158 187 [XML_CONFIG=$withval], 159 188 [XML_CONFIG=`which xml2-config`]) … … 169 198 dnl ------------------- SWIG options --------------------- 170 199 AC_ARG_ENABLE(perlmodule, 171 [A C_HELP_STRING([--disable-perlmodule],[Disable creation of perl module])],200 [AS_HELP_STRING(--disable-perlmodule,Disable creation of perl module)], 172 201 [SWIG_REQ="$enableval"], 173 202 [SWIG_REQ="yes"]) … … 177 206 AC_MSG_RESULT([enable building perl module]) 178 207 AC_ARG_WITH(swig, 179 [A C_HELP_STRING([--with-swig=FILE],[Specify location of SWIG executable.])],208 [AS_HELP_STRING(--with-swig=FILE,Specify location of SWIG executable.)], 180 209 [SWIG=$withval], 181 210 [SWIG=`which swig`]) … … 188 217 dnl ------------------- PERL options --------------------- 189 218 AC_ARG_WITH(perl, 190 [A C_HELP_STRING([--with-perl=FILE],[Specify location of PERL executable.])],219 [AS_HELP_STRING(--with-perl=FILE,Specify location of PERL executable.)], 191 220 [AC_CHECK_PROG(PERL, $withval, $withval)], 192 221 [AC_CHECK_PROG(PERL, perl, `which perl`)]) … … 199 228 dnl ---------------- PERLPREFIX option ------------------- 200 229 AC_ARG_WITH(perlprefix, 201 [A C_HELP_STRING([--with-perlprefix=DIR],[Specify prefix of Perl Module's installation. (default=PREFIX)])],230 [AS_HELP_STRING(--with-perlprefix=DIR,Specify prefix of Perl Module's installation. (default=PREFIX))], 202 231 [PERL_PREFIX="$withval"], 203 232 [PERL_PREFIX="$prefix"]) … … 227 256 AC_SUBST(PSLIB_CFLAGS,[$PSLIB_CFLAGS]) 228 257 229 AC_CONFIG_FILES([ Makefile ]) 230 AC_CONFIG_FILES([ src/Makefile ]) 231 AC_CONFIG_FILES([ src/astronomy/Makefile ]) 232 AC_CONFIG_FILES([ src/collections/Makefile ]) 233 AC_CONFIG_FILES([ src/dataManip/Makefile ]) 234 AC_CONFIG_FILES([ src/dataIO/Makefile ]) 235 AC_CONFIG_FILES([ src/image/Makefile ]) 236 AC_CONFIG_FILES([ src/sysUtils/Makefile ]) 258 AC_CONFIG_FILES([ 259 Makefile 260 src/Makefile 261 src/astronomy/Makefile 262 src/collections/Makefile 263 src/dataManip/Makefile 264 src/dataIO/Makefile 265 src/image/Makefile 266 src/sysUtils/Makefile 267 test/Makefile 268 test/astronomy/Makefile 269 test/collections/Makefile 270 test/dataManip/Makefile 271 test/dataIO/Makefile 272 test/image/Makefile 273 test/sysUtils/Makefile 274 etc/pslib/Makefile 275 etc/Makefile 276 pslib-config 277 pslib.pc 278 Doxyfile 279 ]) 237 280 238 281 if test "$SWIG_REQ" == "yes" … … 241 284 fi 242 285 243 AC_CONFIG_FILES([ test/Makefile ])244 AC_CONFIG_FILES([ test/astronomy/Makefile ])245 AC_CONFIG_FILES([ test/collections/Makefile ])246 AC_CONFIG_FILES([ test/dataManip/Makefile ])247 AC_CONFIG_FILES([ test/dataIO/Makefile ])248 AC_CONFIG_FILES([ test/image/Makefile ])249 AC_CONFIG_FILES([ test/sysUtils/Makefile ])250 AC_CONFIG_FILES([ etc/pslib/Makefile ])251 AC_CONFIG_FILES([ etc/Makefile ])252 AC_CONFIG_FILES([ pslib-config ])253 AC_CONFIG_FILES([ pslib.pc ])254 AC_CONFIG_FILES([ Doxyfile ])255 256 286 AC_OUTPUT 257 -
trunk/psLib/swig/Makefile.PL
r3127 r3785 1 # File : Makefile.PL 2 use ExtUtils::MakeMaker; 1 # File : Makefile.PL 2 use ExtUtils::MakeMaker; 3 3 use FileHandle; 4 4 … … 15 15 }; 16 16 17 #default: 17 #default: 18 18 die "Error: syntaxt error in setup.txt line $_"; 19 19 } … … 26 26 27 27 28 WriteMakefile( 29 'NAME' => 'pslib', # Name of package 28 WriteMakefile( 29 'NAME' => 'pslib', # Name of package 30 30 'INC' => $opts{includes}, 31 'LIBS' => ["$opts{ldflags}"], # Name of custom libraries 32 'OBJECT' => 'pslib_wrap.o', # Name of custom libraries33 'OPTIMIZE' => $opts{cflags},31 'LIBS' => ["$opts{ldflags}"], # Name of custom libraries 32 'OBJECT' => 'pslib_wrap.o', # Name of object 33 'OPTIMIZE' => "$opts{cflags} -w", # cflags with disabling of warnings (SWIG generated code generates warnings) 34 34 'LD' => $opts{ld} 35 35 ); -
trunk/psLib/test/image/Makefile.am
r3783 r3785 43 43 tst_psImageManip_SOURCES = tst_psImageManip.c 44 44 tst_psImageStats_SOURCES = tst_psImageStats.c 45 tst_psImageStatsSpeed_SOURCES = tst_psImageStatsSpeed.c46 45 tst_psImageExtraction_SOURCES = tst_psImageExtraction.c 47 46 tst_psImageConvolve_SOURCES = tst_psImageConvolve.c
Note:
See TracChangeset
for help on using the changeset viewer.
