Skip to content

Commit

Permalink
Update rlm_sql_db2 configure file
Browse files Browse the repository at this point in the history
  • Loading branch information
arr2036 committed Apr 20, 2013
1 parent eb04153 commit 2b4e800
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/modules/rlm_sql/drivers/rlm_sql_db2/configure
Original file line number Diff line number Diff line change
Expand Up @@ -2816,7 +2816,7 @@ if test "x$smart_try_dir" != "x"; then
for try in $smart_try_dir; do
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqlcli.h in $try" >&5
$as_echo_n "checking for sqlcli.h in $try... " >&6; }
CFLAGS="$old_CFLAGS -I$try"
CFLAGS="$old_CFLAGS -isystem $try -I$try"
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
Expand All @@ -2831,7 +2831,7 @@ int a = 1;
_ACEOF
if ac_fn_c_try_compile "$LINENO"; then :
smart_include="-I$try"
smart_include="-isystem $try"
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
$as_echo "yes" >&6; }
break
Expand Down Expand Up @@ -2911,7 +2911,7 @@ eval "smart_include_dir=\"\$smart_include_dir $DIRS\""
for try in $smart_include_dir /usr/local/include /opt/include; do
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqlcli.h in $try" >&5
$as_echo_n "checking for sqlcli.h in $try... " >&6; }
CFLAGS="$old_CFLAGS -I$try"
CFLAGS="$old_CFLAGS -isystem $try -I$try"
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
Expand All @@ -2926,7 +2926,7 @@ int a = 1;
_ACEOF
if ac_fn_c_try_compile "$LINENO"; then :
smart_include="-I$try"
smart_include="-isystem $try"
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
$as_echo "yes" >&6; }
break
Expand Down

0 comments on commit 2b4e800

Please sign in to comment.