Skip to content

Commit

Permalink
Touch all files so autoconf doesn't run.
Browse files Browse the repository at this point in the history
  • Loading branch information
evan committed Feb 26, 2012
1 parent 7b2ba38 commit 1a4e63d
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions ext/extconf.rb
Original file line number Diff line number Diff line change
Expand Up @@ -47,9 +47,8 @@ def check_libmemcached
$DEFLIBPATH = [] unless SOLARIS_32

Dir.chdir(HERE) do
run("touch -r #{BUNDLE_PATH}/m4/visibility.m4 #{BUNDLE_PATH}/configure.ac #{BUNDLE_PATH}/m4/pandora_have_sasl.m4 #{BUNDLE_PATH}/aclocal.m4", "Touching aclocal.m4 in libmemcached.")

Dir.chdir(BUNDLE_PATH) do
run("find . | xargs touch", "Touching all files so autoconf doesn't run.")
run("env CFLAGS='-fPIC #{LIBM_CFLAGS}' LDFLAGS='-fPIC #{LIBM_LDFLAGS}' ./configure --prefix=#{HERE} --without-memcached --disable-shared --disable-utils --disable-dependency-tracking #{$CC} #{$EXTRA_CONF} 2>&1", "Configuring libmemcached.")
end

Expand Down

0 comments on commit 1a4e63d

Please sign in to comment.