~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to m4/lib-prefix.m4

  • Committer: Brian Aker
  • Date: 2009-07-16 19:30:03 UTC
  • mfrom: (1093.1.17 captain)
  • Revision ID: brian@gaz-20090716193003-gwt4i1le2g02ay0j
Merge Jay

Show diffs side-by-side

added added

removed removed

Lines of Context:
183
183
      dnl "Portable Makefiles should refer to any library directories using the 64 symbolic link."
184
184
      dnl But we want to recognize the sparcv9 or amd64 subdirectory also if the
185
185
      dnl symlink is missing, so we set acl_libdirstem2 too.
186
 
      AC_CACHE_CHECK([for 64-bit host], [gl_cv_solaris_64bit],
187
 
        [AC_RUN_IFELSE([
188
 
           AC_LANG_PROGRAM([], [[
189
 
             return sizeof(void*) == 8 ? 0 : 1;
190
 
           ]])            
191
 
           ], [gl_cv_solaris_64bit=yes], [gl_cv_solaris_64bit=no])
192
 
        ])
 
186
      AC_MSG_CHECKING([if buildling 64-bit app])
 
187
      AC_RUN_IFELSE([
 
188
         AC_LANG_PROGRAM([
 
189
         ], [
 
190
           return sizeof(void*) == 8 ? 0 : 1;
 
191
         ])            
 
192
      ], [
 
193
         gl_cv_solaris_64bit=yes
 
194
      ], [
 
195
         gl_cv_solaris_64bit=no
 
196
      ])
 
197
      AC_MSG_RESULT([$gl_cv_solaris_64bit])
193
198
      if test $gl_cv_solaris_64bit = yes; then
194
199
        acl_libdirstem=lib/64
195
200
        case "$host_cpu" in